commit 88096ac76a618204b81d978e9becbc6100eda51d
parent 2d6a1b354129fe72d04faaaa988f8263892419ce
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 5 Dec 2016 21:34:36 -0500
Fix context menu auto-selection bug
A context-menu entry was being selected automatically when the click
target was near the bottom of the screen.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -2988,7 +2988,7 @@ var ZoteroPane = new function()
ZoteroPane_Local.buildItemContextMenu()
.then(function () {
document.getElementById('zotero-itemmenu').openPopup(
- null, null, event.clientX, event.clientY, true, false, event
+ null, null, event.clientX + 1, event.clientY + 1, true, false, event
);
})
});