Commit 218874c5 by doszhang

dos

parent ba3ce4e8
......@@ -122,9 +122,12 @@ preloadimages(preloadImageList, function () {
}, function (progress) {});
$(document).ready(function () {
readingJson = {};
readingJson = JSON.stringify(getCookie('reading'));
console.log(readingJson);
reading = JSON.stringify(getCookie('reading'));
if (reading != 'null') {
readingJson = reading;
console.log(readingJson);
}
$("input").on("blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位
......@@ -229,7 +232,7 @@ function jumpTolink(event) {
readingJson['link' + index] = 1;
console.log(readingJson);
setCookie('reading', JSON.parse(readingJson));
// setCookie('reading', JSON.parse(readingJson));
}
// window.location.href = link;
}
......
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 sign in to comment