- if (!supportsLocalStorage()) { return false; }
- localStorage["wallabag.article." + id + ".percent"] = percent;
- return true;
+ if (!supportsLocalStorage()) { return false; }
+ localStorage['wallabag.article.' + id + '.percent'] = percent;
+ return true;
- var bheight = $(document).height();
- var percent = localStorage["wallabag.article." + id + ".percent"];
- var scroll = bheight * percent;
+ var bheight = $(document).height();
+ var percent = localStorage['wallabag.article.' + id + '.percent'];
+ var scroll = bheight * percent;