Skip to content

Commit

Permalink
Merge pull request inuyaksa#583 from ronar/master
Browse files Browse the repository at this point in the history
Fix show of null
  • Loading branch information
inuyaksa committed Feb 29, 2016
2 parents 45772b8 + 6c06be6 commit b8bf792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.nicescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,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;
Expand Down

0 comments on commit b8bf792

Please sign in to comment.