Skip to content

Commit

Permalink
fix #68
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoperillo committed Apr 9, 2019
1 parent fde6722 commit b14955e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/js/app/components/bookmarks/bookmarksVm.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,12 @@
};

const contextMenu = (bookmark, event) => {
console.log(`CLICK DX ${event.pageY} - ${event.pageX}`);
const posX = event.clientY;
const posY = event.clientX;
bookmarkOfContextMenu = bookmark;
showContextMenu(true);
contextMenuPosX(`${event.pageY}px`);
contextMenuPosY(`${event.pageX}px`);
contextMenuPosX(`${posX}px`);
contextMenuPosY(`${posY}px`);
};

const duplicate = () => {
Expand Down

0 comments on commit b14955e

Please sign in to comment.