fix a few issues opening the zotero pane

This commit is contained in:
Simon Kornblith 2011-02-03 05:05:11 +00:00
parent c722bbff56
commit b001c5433f
2 changed files with 3 additions and 3 deletions

View File

@ -152,8 +152,8 @@ var ZoteroAdvancedSearch = new function() {
return;
}
if (lastWin.document.getElementById('zotero-pane').getAttribute('hidden') == 'true') {
lastWin.ZoteroPane.toggleDisplay();
if (lastWin.ZoteroOverlay) {
lastWin.ZoteroOverlay.toggleDisplay(true);
}
lastWin.ZoteroPane.selectItem(item.getID(), false, true);

View File

@ -318,7 +318,7 @@
}
if (lastWin.ZoteroOverlay) {
lastWin.ZoteroOverlay.toggleDisplay();
lastWin.ZoteroOverlay.toggleDisplay(true);
}
var zp = lastWin.ZoteroPane;