Make sure info pane is selected for feed items

This commit is contained in:
Dan Stillman 2016-04-05 15:08:11 -04:00
parent 1e8b74d9b9
commit 71d79e1f08

View file

@ -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);