fx-compat: Fix ZP progress queue button creation
This commit is contained in:
parent
ea67ccc81a
commit
dc96c1a175
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ var ZoteroPane = new function()
|
|||
let progressQueueButtons = document.getElementById('zotero-pq-buttons');
|
||||
let progressQueues = Zotero.ProgressQueues.getAll();
|
||||
for (let progressQueue of progressQueues) {
|
||||
let button = document.createElement('toolbarbutton');
|
||||
let button = document.createXULElement('toolbarbutton');
|
||||
button.id = 'zotero-tb-pq-' + progressQueue.getID();
|
||||
button.hidden = progressQueue.getTotal() < 1;
|
||||
button.addEventListener('command', function () {
|
||||
|
|
Loading…
Reference in a new issue