Skip to content

Commit

Permalink
Reset scrolling when display is called
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Sep 9, 2015
1 parent bef379d commit 5bcc452
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/app/app-analysis.js
Expand Up @@ -23,7 +23,7 @@ define(['utils/utils', 'mvc/tools', 'mvc/upload/upload-view', 'mvc/ui/ui-misc',
},
display: function( $el ) {
this.$( '#galaxy_main' ).hide();
this.$( '#center-panel' ).empty().append( $el ).show();
this.$( '#center-panel' ).empty().scrollTop( 0 ).append( $el ).show();
},
_template: function() {
return '<div style="position: absolute; width: 100%; height: 100%">' +
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/app/app-analysis.js.map

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

2 changes: 1 addition & 1 deletion static/scripts/mvc/app/app-analysis.js

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

0 comments on commit 5bcc452

Please sign in to comment.