From 698f5fca0da64db7c80d768e706b51042c17d13b Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Fri, 10 Sep 2010 12:44:55 -0400 Subject: Fix Bugzilla Tweaks in debug builds --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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") -- cgit