diff options
author | Struan Donald <struan@exo.org.uk> | 2013-08-13 10:44:39 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-08-13 10:44:39 +0100 |
commit | 02f154d5377cf642326f0f4ecd4c097e299b5a84 (patch) | |
tree | daddf7865772a3c5192307a2a44c31d850f30eb2 /src/js/app.js | |
parent | f36dd65f877f938a83c6124df856e0429e46982c (diff) |
Scroll help to top once dismissed
Not sure if this is the correct thing to do but having the help
re-appear scrolled to where you left it doesn't feel right.
Diffstat (limited to 'src/js/app.js')
-rw-r--r-- | src/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/app.js b/src/js/app.js index 419b46a..f33d0c8 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -174,7 +174,7 @@ var tpl = { viewWidth = $(window).width(); $('#dismiss').hide(); - help.animate({left: viewWidth}, 400, 'swing', function() { $('#display-help').show(); } ); + help.animate({left: viewWidth}, 400, 'swing', function() { $('#display-help').show(); $('#help').scrollTop(0); } ); }, helpViewed: function() { |