* Fix scrolling on error page

This commit is contained in:
ryanbrandenburg 2015-11-09 10:53:48 -08:00
parent 740b51e0bc
commit 88ad99d497
3 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -169,10 +169,14 @@
$(".page").hide(); $(".page").hide();
$("#stackpage").show(); $("#stackpage").show();
$("#rawExceptionButton").click(function () { $("#rawExceptionButton").click(function (event) {
var div = document.getElementById('rawException'); var div = document.getElementById('rawException');
div.style.display = 'inline-block'; div.style.display = 'inline-block';
div.scrollIntoView(true); div.scrollIntoView(true);
event.preventDefault();
event.stopPropagation();
return false;
}); });
$(".frame") $(".frame")