ソースを参照

Fix show of null

ronar 9 年 前
コミット
6c06be63fe
1 ファイル変更1 行追加1 行削除
  1. 1 1
      jquery.nicescroll.js

+ 1 - 1
jquery.nicescroll.js

@@ -2368,7 +2368,7 @@
 			if (!self.haswrapper) self.hide();	
 			if (self.hlazyresize) clearTimeout(self.hlazyresize);
 			self.hlazyresize = setTimeout(function(){
-				self.show().resize();
+				self && self.show().resize();
 			},240);
 			
       return self;