app/assets/javascripts/jquery.contextmenu.js in kit_cms-2.3.16 vs app/assets/javascripts/jquery.contextmenu.js in kit_cms-2.3.17
- old
+ new
@@ -984,16 +984,16 @@
// attach item to menu
$t.appendTo(opt.$menu);
// Disable text selection
- if (!opt.hasTypes) {
- if($.browser.msie) {
- $t.on('selectstart.disableTextSelect', handle.abortevent);
- } else if(!$.browser.mozilla) {
- $t.on('mousedown.disableTextSelect', handle.abortevent);
- }
- }
+// if (!opt.hasTypes) {
+ // if($.browser.msie) {
+ // $t.on('selectstart.disableTextSelect', handle.abortevent);
+ // } else if(!$.browser.mozilla) {
+ // $t.on('mousedown.disableTextSelect', handle.abortevent);
+ // }
+ // }
});
// attach contextMenu to <body> (to bypass any possible overflow:hidden issues on parents of the trigger element)
if (!opt.$node) {
opt.$menu.css('display', 'none').addClass('context-menu-root');
}