www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 39cd0264cd2307b2b14fc12111b52ddc25dda8c2
parent fd9e25fa29374000e2aa23af1f96569438381190
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 13 Feb 2011 03:56:33 +0000

run another resize operation on a timeout to fix standalone issues


Diffstat:
Mchrome/content/zotero/zoteroPane.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js @@ -116,8 +116,9 @@ var ZoteroPane = new function() var zp = document.getElementById('zotero-pane'); Zotero.setFontSize(zp); - ZoteroPane.updateToolbarPosition(); + this.updateToolbarPosition(); window.addEventListener("resize", this.updateToolbarPosition, false); + window.setTimeout(this.updateToolbarPosition, 0); if (Zotero.isMac) { //document.getElementById('zotero-tb-actions-zeroconf-update').setAttribute('hidden', false);