Commit ef35733e by doszhang

dos

parent 41c48082
...@@ -226,9 +226,11 @@ function jumpTolink(event) { ...@@ -226,9 +226,11 @@ function jumpTolink(event) {
if (event.data.index) { if (event.data.index) {
const index = event.data.index; const index = event.data.index;
readingJson['link' + index] = 1; readingJson['link' + index] = 1;
console.log(readingJson);
setCookie('reading', JSON.parse(readingJson)); setCookie('reading', JSON.parse(readingJson));
} }
window.location.href = link; // window.location.href = link;
} }
function playVideo(event) { function playVideo(event) {
......
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