mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Fix scrolling in basicViewer
This commit is contained in:
parent
ef9040c46d
commit
7a95185b34
1 changed files with 7 additions and 0 deletions
|
|
@ -40,4 +40,11 @@ window.addEventListener("load", function() {
|
|||
|
||||
// show document
|
||||
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);
|
||||
Loading…
Add table
Reference in a new issue