jquery-simple-context-menu icon indicating copy to clipboard operation
jquery-simple-context-menu copied to clipboard

multi-right-click got multi-context-menu (last one does not disappear) on IE9

Open hhmmdd opened this issue 11 years ago • 1 comments

on IE9 the bg cover sometime not work, so I just add a few code, to avoid this,

// On contextmenu event (right click) this.bind('contextmenu', function(e) {
//remove any old, maodonghu 2013/4/11 $('.bgCover').remove(); $('.'+settings.contextMenuClass).remove();

var menu = createMenu(e)
  .show();

...

var bg = $('<div class="bgCover"></div>')

hhmmdd avatar Apr 11 '13 12:04 hhmmdd