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