diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
index 3ff6d10cd..1b3b90d18 100644
--- a/chrome/content/zotero/overlay.js
+++ b/chrome/content/zotero/overlay.js
@@ -268,7 +268,7 @@ var ZoteroPane = new function()
{
document.getElementById('zotero-view-note-button').removeAttribute('sourceID');
}
- document.getElementById('item-pane').selectedIndex = 2;
+ document.getElementById('item-pane-content').selectedIndex = 2;
}
else if(item.isAttachment())
{
@@ -349,17 +349,17 @@ var ZoteroPane = new function()
noteEditor.item = null;
noteEditor.note = item.ref;
- document.getElementById('item-pane').selectedIndex = 3;
+ document.getElementById('item-pane-content').selectedIndex = 3;
}
else
{
ZoteroItemPane.viewItem(item.ref);
- document.getElementById('item-pane').selectedIndex = 1;
+ document.getElementById('item-pane-content').selectedIndex = 1;
}
}
else
{
- document.getElementById('item-pane').selectedIndex = 0;
+ document.getElementById('item-pane-content').selectedIndex = 0;
var label = document.getElementById('zotero-view-selected-label');
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
index 558afb17f..35fd6f376 100644
--- a/chrome/content/zotero/overlay.xul
+++ b/chrome/content/zotero/overlay.xul
@@ -188,7 +188,7 @@
-
+
@@ -203,7 +203,7 @@
-
+