From fbead5600bfaf5c2b65e94bf06b100b8dcbcad06 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 31 May 2011 06:53:13 +0000 Subject: [PATCH] refine toolbar behavior --- chrome/content/zotero/zoteroPane.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 5e0a4a42a..bce55ce23 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3613,8 +3613,8 @@ var ZoteroPane = new function() var paneComputedStyle = window.getComputedStyle(pane, null); var splitterComputedStyle = window.getComputedStyle(splitter, null); - toolbar.style.width = parseInt(paneComputedStyle.getPropertyValue("width")) - +parseInt(splitterComputedStyle.getPropertyValue("width"))+"px"; + toolbar.style.width = paneComputedStyle.getPropertyValue("width"); + toolbar.style.marginRight = splitterComputedStyle.getPropertyValue("width"); } }