Resize Sync prefpane after init
Otherwise things can get cut off the bottom
This commit is contained in:
parent
c5a9987f37
commit
0173e9084d
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,8 @@ Zotero_Preferences.Sync = {
|
||||||
var img = document.getElementById('sync-status-indicator');
|
var img = document.getElementById('sync-status-indicator');
|
||||||
img.removeAttribute('verified');
|
img.removeAttribute('verified');
|
||||||
img.removeAttribute('animated');
|
img.removeAttribute('animated');
|
||||||
|
|
||||||
|
window.sizeToContent();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -276,6 +278,8 @@ Zotero_Preferences.Sync = {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateStorageTerms();
|
this.updateStorageTerms();
|
||||||
|
|
||||||
|
window.sizeToContent();
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue