From 0173e9084d7850a68338ff36c2f5e913a0466b95 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 29 Dec 2015 20:07:12 -0500 Subject: [PATCH] Resize Sync prefpane after init Otherwise things can get cut off the bottom --- chrome/content/zotero/preferences/preferences_sync.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/preferences/preferences_sync.js b/chrome/content/zotero/preferences/preferences_sync.js index e7c56d8bb..0502befd8 100644 --- a/chrome/content/zotero/preferences/preferences_sync.js +++ b/chrome/content/zotero/preferences/preferences_sync.js @@ -76,6 +76,8 @@ Zotero_Preferences.Sync = { var img = document.getElementById('sync-status-indicator'); img.removeAttribute('verified'); img.removeAttribute('animated'); + + window.sizeToContent(); }, @@ -276,6 +278,8 @@ Zotero_Preferences.Sync = { } this.updateStorageTerms(); + + window.sizeToContent(); }),