Make sure info pane is selected for feed items
This commit is contained in:
parent
1e8b74d9b9
commit
71d79e1f08
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ var ZoteroItemPane = new function() {
|
|||
var viewBox = document.getElementById('zotero-view-item');
|
||||
viewBox.classList.remove('no-tabs');
|
||||
|
||||
// Switch to info pane for feed items
|
||||
if (item.isFeedItem) {
|
||||
index = viewBox.selectedIndex = 0;
|
||||
}
|
||||
|
||||
if (index == 0) {
|
||||
document.getElementById('zotero-editpane-tabs').setAttribute('hidden', item.isFeedItem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue