From 0eacbc939b5e370a1cc184da3b8e40d3768bd230 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 15 Oct 2016 16:12:42 -0400 Subject: [PATCH] Fix tag selector context menu --- chrome/content/zotero/bindings/tagselector.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml index 113de09073..c15ada26ec 100644 --- a/chrome/content/zotero/bindings/tagselector.xml +++ b/chrome/content/zotero/bindings/tagselector.xml @@ -183,7 +183,7 @@ // for some reason setTimeout(function () { _popupNode = event.target; - self.id('tag-menu').openPopup( + this.id('tag-menu').openPopup( null, 'after_pointer', event.clientX + 2, @@ -193,7 +193,7 @@ ); event.stopPropagation(); event.preventDefault(); - }); + }.bind(this)); } }.bind(this));