Skip to content

Commit

Permalink
Fixed issue #06885: Long survey pages jump down the page in IE8 compa…
Browse files Browse the repository at this point in the history
…tibility view

Dev Forced scroll to top when in IE compatibility mode
  • Loading branch information
tpartner committed Nov 15, 2012
1 parent e4fa019 commit eacadb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/survey_runtime.js
Expand Up @@ -98,7 +98,8 @@ $(document).ready(function()
// Set jquery-ui to LS Button
function navbuttonsJqueryUi(){
if ($.browser.msie && $.browser.version.substr(0,1)<8 && $('button.submit').length > 0) { // Get rid of the focus outline in IE7
$('#movenextbtn, #movesubmitbtn').focus().blur();
$('#movenextbtn, #movesubmitbtn').focus().blur();
$(this).scrollTop(0);
}

$('[dir!="rtl"] #moveprevbtn').button({
Expand Down

0 comments on commit eacadb5

Please sign in to comment.