From 3a48439c1d3b76622a469698975dd2fb401e7f4f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 26 Mar 2017 18:11:23 -0400 Subject: [PATCH] Ignore clicks in tag selector not on tags --- chrome/content/zotero/bindings/tagselector.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml index 3b991da58..cd69fccc9 100644 --- a/chrome/content/zotero/bindings/tagselector.xml +++ b/chrome/content/zotero/bindings/tagselector.xml @@ -659,6 +659,11 @@ var elem = event.target; + // Ignore clicks not on tags + if (elem.localName != 'button') { + return; + } + // Ignore clicks on tags not in scope if (elem.getAttribute('inScope') == 'false') { return;