diff options
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 78eeceb2b0c..841f3a769f1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -663,7 +663,7 @@ if(typeof localStorage !=='undefined' && localStorage !== null){ return localStorage.setItem(OC.localStorage.namespace+name,JSON.stringify(item)); }, removeItem:function(name,item){ - return localStorage.removeItem(OC.localStorage.namespace+name,JSON.stringify(item)); + return localStorage.removeItem(OC.localStorage.namespace+name); }, getItem:function(name){ var item = localStorage.getItem(OC.localStorage.namespace+name); |