jquery-simple-context-menu
jquery-simple-context-menu copied to clipboard
multi-right-click got multi-context-menu (last one does not disappear) on IE9
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>')