fix a few issues opening the zotero pane
This commit is contained in:
parent
c722bbff56
commit
b001c5433f
2 changed files with 3 additions and 3 deletions
|
@ -152,8 +152,8 @@ var ZoteroAdvancedSearch = new function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastWin.document.getElementById('zotero-pane').getAttribute('hidden') == 'true') {
|
if (lastWin.ZoteroOverlay) {
|
||||||
lastWin.ZoteroPane.toggleDisplay();
|
lastWin.ZoteroOverlay.toggleDisplay(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
lastWin.ZoteroPane.selectItem(item.getID(), false, true);
|
lastWin.ZoteroPane.selectItem(item.getID(), false, true);
|
||||||
|
|
|
@ -318,7 +318,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastWin.ZoteroOverlay) {
|
if (lastWin.ZoteroOverlay) {
|
||||||
lastWin.ZoteroOverlay.toggleDisplay();
|
lastWin.ZoteroOverlay.toggleDisplay(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
var zp = lastWin.ZoteroPane;
|
var zp = lastWin.ZoteroPane;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue