aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/main.js b/lib/main.js
index 335c393..2855427 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -921,7 +921,7 @@ DataStoreCtor.prototype = {
}
},
_ensure: function(entry, obj, val) {
- if (obj.toString().indexOf("[object Storage]") >= 0) {
+ if (obj.toString().indexOf("[object Storage") >= 0) {
obj.setItem(entry, val);
} else {
if (typeof obj[entry] == "undefined")