fix sync icon spinning in Zotero tab
This commit is contained in:
parent
1cb4464575
commit
e82968304f
1 changed files with 3 additions and 2 deletions
|
@ -815,8 +815,9 @@ Zotero.Sync.Runner = new function () {
|
|||
|
||||
while (enumerator.hasMoreElements()) {
|
||||
var win = enumerator.getNext();
|
||||
var warning = win.document.getElementById('zotero-tb-sync-warning');
|
||||
var icon = win.document.getElementById('zotero-tb-sync');
|
||||
if(!win.ZoteroPane) continue;
|
||||
var warning = win.ZoteroPane.document.getElementById('zotero-tb-sync-warning');
|
||||
var icon = win.ZoteroPane.document.getElementById('zotero-tb-sync');
|
||||
|
||||
if (status == 'warning' || status == 'error') {
|
||||
icon.setAttribute('status', '');
|
||||
|
|
Loading…
Add table
Reference in a new issue