diff --git a/chrome/content/zotero/elements/itemPaneSidenav.js b/chrome/content/zotero/elements/itemPaneSidenav.js index e208267690..4716473936 100644 --- a/chrome/content/zotero/elements/itemPaneSidenav.js +++ b/chrome/content/zotero/elements/itemPaneSidenav.js @@ -187,6 +187,10 @@ toolbarbutton.parentElement.classList.toggle('pinnable', pinnable); toolbarbutton.addEventListener('click', (event) => { + if (event.button !== 0) { + return; + } + switch (event.detail) { case 1: this.scrollToPane(pane, 'smooth');