This commit is contained in:
Liang Ding 2018-12-20 23:08:18 +08:00
parent 8700436fc0
commit 130cc607f3
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D

View File

@ -19,7 +19,7 @@
* @fileoverview ease js.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.2.0.0, Jun 4, 2018
* @version 1.2.0.1, Dec 20, 2018
*/
var goTranslate = function () {
window.open("http://translate.google.com/translate?sl=auto&tl=auto&u=" + location.href);
@ -28,7 +28,7 @@ var goTranslate = function () {
var getNextPage = function () {
var $more = $(".article-next");
currentPage += 1;
var path = "/articles/";
var path = "/articles";
if($("#tag").length === 1) {
var pathnames = location.pathname.split("/");
path = "/articles/tags/" + pathnames[pathnames.length - 1] + "/";