[desktop] debug for IE
This commit is contained in:
parent
3d609a1576
commit
486eaf38af
|
@ -266,16 +266,16 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#id-box-doc-name').on({
|
$('#id-box-doc-name').on({
|
||||||
'dblclick': e => {
|
'dblclick': function (e) {
|
||||||
native.execCommand('title:dblclick', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
|
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}))
|
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}))
|
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}))
|
native.execCommand('title:mouseup', JSON.stringify({x: e.originalEvent.screenX, y: e.originalEvent.screenY}))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue