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.
This commit is contained in:
Dan Stillman 2016-12-05 21:34:36 -05:00
parent 2d6a1b3541
commit 88096ac76a

View file

@ -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
);
})
});