commit 3a48439c1d3b76622a469698975dd2fb401e7f4f
parent d357382dd1d6343b417133fd01b256be3e073533
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 26 Mar 2017 18:11:23 -0400
Ignore clicks in tag selector not on tags
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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;