commit 0173e9084d7850a68338ff36c2f5e913a0466b95
parent c5a9987f375dd7ce8661d65373efb55d09853fbc
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 29 Dec 2015 20:07:12 -0500
Resize Sync prefpane after init
Otherwise things can get cut off the bottom
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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();
}),