Skip to content
Permalink
Browse files
Reinitiliaze to scrollTo 0 when showing new contents. Fix #164
  • Loading branch information
nyroDev committed Oct 21, 2012
1 parent aace5e7 commit 2a1e1af
Showing 1 changed file with 2 additions and 0 deletions.
@@ -440,6 +440,7 @@ jQuery(function($, undefined) {
this._callFilters('afterShowCont');
this.elts.cont.append(this._scriptsShown);
this._reposition();
this.elts.cont.scrollTop(0);
}, this));
}, this);
if (this._nbContentLoading == 1) {
@@ -454,6 +455,7 @@ jQuery(function($, undefined) {
this._callAnim('showCont', $.proxy(function() {
this.elts.cont.append(this._scriptsShown);
this._reposition();
this.elts.cont.scrollTop(0);
}, this));
}, this));
}

0 comments on commit 2a1e1af

Please sign in to comment.