Skip to content

Commit

Permalink
Don't animate to the new position when re-initialising (see issue 36)...
Browse files Browse the repository at this point in the history
  • Loading branch information
vitch committed Jan 30, 2011
1 parent 034c8bf commit 103f255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/jquery.jscrollpane.js
Expand Up @@ -192,8 +192,8 @@
resizeScrollbars();

if (isMaintainingPositon) {
scrollToX(lastContentX);
scrollToY(lastContentY);
scrollToX(lastContentX, false);
scrollToY(lastContentY, false);
}

initFocusHandler();
Expand Down
2 changes: 1 addition & 1 deletion script/jquery.jscrollpane.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 103f255

Please sign in to comment.