Skip to content

Commit b46ae22

Browse files
committed
fix
1 parent 114dbab commit b46ae22

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 7 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.3.16.2
9+
// @version 2017.3.17.1
1010
// @created 2011-6-15
1111
// @namespace http://userscripts.org/users/NLF
1212
// @homepage http://hoothin.com
@@ -2815,9 +2815,13 @@ padding-left:24px;">'+shareItem.name+'</span>');
28152815

28162816
var self=this;
28172817
clearTimeout(this.loadImgTimer);
2818-
this.loadImgTimer=setTimeout(function(){//快速跳转的时候不要尝试读取图片。
2818+
if(prefs.gallery.transition){
2819+
this.loadImgTimer=setTimeout(function(){//快速跳转的时候不要尝试读取图片。
2820+
self.loadImg(ele);
2821+
},200);
2822+
}else{
28192823
self.loadImg(ele);
2820-
},200);
2824+
}
28212825

28222826
this.selectedIntoView(noTransition);
28232827
this.forceRepaint();

0 commit comments

Comments
 (0)