diff --git a/static/js/pandora/apiDialog.js b/static/js/pandora/apiDialog.js index 7fdda865..6b8f063f 100644 --- a/static/js/pandora/apiDialog.js +++ b/static/js/pandora/apiDialog.js @@ -163,6 +163,7 @@ pandora.ui.apiDialog = function() { } else { $text.html(overview); } + $text.scrollTop(0); return that; } diff --git a/static/js/pandora/helpDialog.js b/static/js/pandora/helpDialog.js index ebbcea57..ed645c4e 100644 --- a/static/js/pandora/helpDialog.js +++ b/static/js/pandora/helpDialog.js @@ -140,7 +140,7 @@ pandora.ui.helpDialog = function() { }); that.select = function(id) { - $text.html(text[id]); + $text.html(text[id]).scrollTop(0); $text.find('img') .css({ width: '100%',