This commit is contained in:
parent
8700436fc0
commit
130cc607f3
@ -19,7 +19,7 @@
|
|||||||
* @fileoverview ease js.
|
* @fileoverview ease js.
|
||||||
*
|
*
|
||||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
* @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 () {
|
var goTranslate = function () {
|
||||||
window.open("http://translate.google.com/translate?sl=auto&tl=auto&u=" + location.href);
|
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 getNextPage = function () {
|
||||||
var $more = $(".article-next");
|
var $more = $(".article-next");
|
||||||
currentPage += 1;
|
currentPage += 1;
|
||||||
var path = "/articles/";
|
var path = "/articles";
|
||||||
if($("#tag").length === 1) {
|
if($("#tag").length === 1) {
|
||||||
var pathnames = location.pathname.split("/");
|
var pathnames = location.pathname.split("/");
|
||||||
path = "/articles/tags/" + pathnames[pathnames.length - 1] + "/";
|
path = "/articles/tags/" + pathnames[pathnames.length - 1] + "/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user