diff --git a/suite/common/bookmarks/bookmarksMenu.js b/suite/common/bookmarks/bookmarksMenu.js index eb2028eb7e3..42a3e0b8a46 100644 --- a/suite/common/bookmarks/bookmarksMenu.js +++ b/suite/common/bookmarks/bookmarksMenu.js @@ -212,15 +212,15 @@ var BookmarksMenu = { case "toolbarseparator": case "toolbarbutton": size = overButtonBoxObject.width; - coordValue = overButtonBoxObject.x; + coordValue = overButtonBoxObject.clientX; clientCoordValue = aEvent.clientX; break; case "menuseparator": case "menu": case "menuitem": size = overButtonBoxObject.height; - coordValue = overButtonBoxObject.y-overParentBoxObject.y; - clientCoordValue = aEvent.clientY; + coordValue = overButtonBoxObject.screenY; + clientCoordValue = aEvent.screenY; break; default: return BookmarksUtils.DROP_ON; }