Commit ec64779f authored by Tristan Cavelier's avatar Tristan Cavelier

Fix bug: no method 'deleteItem' from localStorage object

parent dfebe7c8
......@@ -57,7 +57,7 @@
});
odf(OfficeJS_login.object,'dontRememberMe',function () {
$(that.remember_id).removeAttr('checked');
localStorage.deleteItem(that.remember_path);
delete localStorage[that.remember_path];
});
odf(OfficeJS_login.object,'toggleRememberMe',function () {
var t = localStorage.getItem(that.remember_path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment