disable native context menu (headless mode)

This commit is contained in:
bordun 2016-03-04 19:53:07 +01:00
parent 2d0c548fee
commit c5efefddf8

View file

@ -12,6 +12,9 @@ var data = require('./data-workers'),
var init = function(){
document.addEventListener("contextmenu", function(e){
e.preventDefault()
}, false);
$('body').off('.editor').on('mousedown.editor touchstart.editor',function(e){