Commit c01cdae6 by doszhang

dos

parent 5c210702
...@@ -366,17 +366,17 @@ $(document).ready(function () { ...@@ -366,17 +366,17 @@ $(document).ready(function () {
function jumpTolink(event) { function jumpTolink(event) {
alert(1); alert(1);
const link = event.data.link; // const link = event.data.link;
if (event.data.index || event.data.index == 0) { // if (event.data.index || event.data.index == 0) {
const index = event.data.index; // const index = event.data.index;
// readingJson['link' + index] = 1; // // readingJson['link' + index] = 1;
// setCookie('reading', JSON.stringify(readingJson)); // // setCookie('reading', JSON.stringify(readingJson));
$('.read' + index).show(); // $('.read' + index).show();
setTimeout(function () { // setTimeout(function () {
$('.read' + index).hide(); // // $('.read' + index).hide();
}, 400); // }, 400);
} // }
setTimeout(function () { setTimeout(function () {
window.location.href = link; window.location.href = link;
}, 100); }, 100);
......
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