Fix word processor add-on installation window being tiny. Closes #3906

This commit is contained in:
Adomas Venčkauskas 2024-04-04 15:24:46 +03:00
parent 34d857d310
commit e8df3c29dd

View file

@ -230,6 +230,7 @@ ZoteroPluginInstaller.prototype = {
_firstRunListener: function() {
this._progressWindowLabel = this._progressWindow.document.getElementById("progress-label");
this._progressWindowLabel.value = Zotero.getString('zotero.preferences.wordProcessors.installing', this._addon.EXTENSION_STRING);
this._progressWindow.sizeToContent();
var me = this;
setTimeout(function() {
me._progressWindow.focus();