mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-25 04:56:37 +00:00
修复小说阅读的时候按键盘→会报错的bug
This commit is contained in:
@ -238,17 +238,17 @@
|
||||
if (preId > 0) {
|
||||
location.href = '/book/' + bid + '/' + preId + '.html';
|
||||
} else {
|
||||
location.href = '/book/chapterlist-' + bid + '.html';
|
||||
location.href = '/book/indexList-' + bid + '.html';
|
||||
}
|
||||
} else if (e.keyCode == 39) {
|
||||
if (nextId > 0) {
|
||||
location.href = '/book/' + bid + '/' + nextId + '.html';
|
||||
} else {
|
||||
location.href = '/book/chapterlist-' + bid + '.html';
|
||||
location.href = '/book/indexList-' + bid + '.html';
|
||||
}
|
||||
}
|
||||
});
|
||||
BookDetail.SetReadHistory(bid, cid, crank);
|
||||
//BookDetail.SetReadHistory(bid, cid, crank);
|
||||
},
|
||||
SetReadHistory: function (bid, cid, crank) {
|
||||
var strHistory = jQuery.cookie("wapviewhistory");
|
||||
|
Reference in New Issue
Block a user