Fix scrolling in basicViewer
This commit is contained in:
parent
e29c87c77b
commit
5470d4bf89
1 changed files with 7 additions and 0 deletions
|
@ -41,3 +41,10 @@ window.addEventListener("load", function() {
|
||||||
// show document
|
// show document
|
||||||
browser.loadURI.apply(browser, window.arguments);
|
browser.loadURI.apply(browser, window.arguments);
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
|
// XXX Why is this necessary to make the scroll bars appear?
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
window.setTimeout(function() {
|
||||||
|
document.getElementById("my-browser").style.overflow = "auto";
|
||||||
|
}, 0);
|
||||||
|
}, false);
|
Loading…
Reference in a new issue