diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index 3e66ea2c3..628abf3a5 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -30,7 +30,6 @@ var ZoteroItemPane = new function() { var _lastPane; var _loaded; - var _tabs; var _lastTabIndex; var _tabDirection; var _tabIndexMaxTagsFields = 0; @@ -51,10 +50,8 @@ var ZoteroItemPane = new function() { return; } - _tabs = document.getElementById('zotero-view-tabs'); - // Not in item pane, so skip the introductions - if (!_tabs) { + if (!document.getElementById('zotero-view-tabbox')) { return; } diff --git a/chrome/content/zotero/itemPane.xul b/chrome/content/zotero/itemPane.xul index bd4879ecf..1d65c2199 100644 --- a/chrome/content/zotero/itemPane.xul +++ b/chrome/content/zotero/itemPane.xul @@ -31,10 +31,12 @@