diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index a23ec358b..b61fdfb1a 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -266,16 +266,16 @@ define([ }); $('#id-box-doc-name').on({ - 'dblclick': e => { + 'dblclick': function (e) { native.execCommand('title:dblclick', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY})) }, - 'mousedown': e => { + 'mousedown': function (e) { native.execCommand('title:mousedown', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY})) }, - 'mousemove': e => { + 'mousemove': function (e) { native.execCommand('title:mousemove', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY})) }, - 'mouseup': e => { + 'mouseup': function (e) { native.execCommand('title:mouseup', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY})) } });