Skip to content

Commit b9b67e3

Browse files
committed
fix tip
1 parent 0dee0ca commit b9b67e3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// @description Powerful picture viewing tool online, which can popup/scale/rotate/batch save pictures or find the HD original picture automatically
77
// @description:zh-CN NLF 的围观图修改版,增加高清原图查找显示(在线看图工具,支持图片翻转、旋转、缩放、弹出大图、批量保存、查找原图)
88
// @description:zh-TW NLF 的圍觀圖修改版,增加高清原圖查詢顯示(線上看圖工具,支援圖片翻轉、旋轉、縮放、彈出大圖、批量儲存、查詢原圖)
9-
// @version 2017.4.15.1
9+
// @version 2017.4.17.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -3461,10 +3461,12 @@ padding-left:24px;">'+shareItem.name+'</span>');
34613461
nextPage:function(){
34623462
var pageObj=this.getPage(),self=this,textSpan=this.eleMaps['head-command-nextPage'].querySelector("span");
34633463
textSpan.innerHTML="正在加载";
3464-
if(!pageObj.next){
3464+
var loadOver=function(){
34653465
textSpan.innerHTML="<font color='red'>加载完毕</font>";
34663466
setTimeout(function(){textSpan.innerHTML="加载更多";},1500);
3467-
//alert("已加载至最后一页");
3467+
};
3468+
if(!pageObj.next){
3469+
loadOver();
34683470
return;
34693471
}
34703472
var nextUrl=pageObj.next;
@@ -3511,6 +3513,7 @@ padding-left:24px;">'+shareItem.name+'</span>');
35113513
};
35123514
});
35133515
if(prefs.gallery.loadAll)self.nextPage();
3516+
else loadOver();
35143517
},
35153518
onerror: function(e) {
35163519
}

0 commit comments

Comments
 (0)