We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc5897 commit bbe9433Copy full SHA for bbe9433
src/jquery.contextMenu.js
@@ -1505,15 +1505,15 @@
1505
width: $win.width(),
1506
display: 'block',
1507
position: 'fixed',
1508
- 'z-index': zIndex,
+ 'z-index': zIndex - 1,
1509
top: 0,
1510
left: 0,
1511
opacity: 0,
1512
filter: 'alpha(opacity=0)',
1513
'background-color': '#000'
1514
})
1515
.data('contextMenuRoot', opt)
1516
- .insertBefore(this)
+ .appendTo(document.body)
1517
.on('contextmenu', handle.abortevent)
1518
.on('mousedown', handle.layerClick);
1519
0 commit comments