Fix for keyboard shortcuts not working after Z pane display (sometime since Beta 3 -- maybe switch from collapsed to hidden?)

This commit is contained in:
Dan Stillman 2007-02-08 00:52:43 +00:00
parent 8aa060b755
commit fb40565b8c

View File

@ -194,7 +194,7 @@ var ZoteroPane = new function()
document.getElementById('zotero-splitter').setAttribute('hidden', !visible); document.getElementById('zotero-splitter').setAttribute('hidden', !visible);
if (visible) { if (visible) {
document.getElementById('zotero-pane').focus(); document.getElementById('zotero-pane').click();
} }
else { else {
document.getElementById('content').setAttribute('collapsed', false); document.getElementById('content').setAttribute('collapsed', false);