diff --git a/novel-front/src/main/resources/static/javascript/bookdetail.js b/novel-front/src/main/resources/static/javascript/bookdetail.js index 7f146a8..8d5f66b 100644 --- a/novel-front/src/main/resources/static/javascript/bookdetail.js +++ b/novel-front/src/main/resources/static/javascript/bookdetail.js @@ -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"); diff --git a/novel-front/src/main/resources/templates/book/book_content.html b/novel-front/src/main/resources/templates/book/book_content.html index a4559d4..bc13e82 100644 --- a/novel-front/src/main/resources/templates/book/book_content.html +++ b/novel-front/src/main/resources/templates/book/book_content.html @@ -40,6 +40,8 @@ + +