Fix scrolling in basicViewer
This commit is contained in:
parent
e29c87c77b
commit
5470d4bf89
1 changed files with 7 additions and 0 deletions
|
@ -40,4 +40,11 @@ window.addEventListener("load", function() {
|
||||||
|
|
||||||
// show document
|
// show document
|
||||||
browser.loadURI.apply(browser, window.arguments);
|
browser.loadURI.apply(browser, window.arguments);
|
||||||
|
}, 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);
|
}, false);
|
Loading…
Reference in a new issue