Index: chrome/browser/resources/google_now/utility.js |
diff --git a/chrome/browser/resources/google_now/utility.js b/chrome/browser/resources/google_now/utility.js |
index afa74775b1bd5a7019e45520408e73ce2403ed56..904da6b9cd885dd642262a30d114b1cb604b73e7 100644 |
--- a/chrome/browser/resources/google_now/utility.js |
+++ b/chrome/browser/resources/google_now/utility.js |
@@ -64,10 +64,16 @@ console.log = function() { |
}(); |
/** |
- * Location Card Storage. |
+ * Explanation Card Storage. |
*/ |
-if (localStorage['locationCardsShown'] === undefined) |
- localStorage['locationCardsShown'] = 0; |
+if (localStorage['explanatoryCardsShown'] === undefined) |
+ localStorage['explanatoryCardsShown'] = 0; |
+ |
+/** |
+ * Location Card Count Cleanup. |
+ */ |
+if (localStorage.locationCardsShown !== undefined) |
+ localStorage.removeItem('locationCardsShown'); |
/** |
* Builds an error object with a message that may be sent to the server. |