Commit c01cdae6 by doszhang

dos

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