Update webloader.js

This commit is contained in:
Namhyeon Go 2020-07-04 18:14:12 +09:00 committed by GitHub
parent 1b91503d7e
commit d9b529d77a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ var IEVersion = (function() {
})();
return {
setWindowDraggable: function() {
setWindowsMovable: function() {
var grip = document.getElementById('app'),
oX, oY,
mouseDown = function(e) {
@ -200,8 +200,17 @@ return {
});
this.addScript("app/assets/js/index.js");
// set window draggable
this.setWindowDraggable();
// "prevent text drag and drop"; {
document.body.ondragstart = function() {
return false;
};
document.body.ondrop = function() {
return false;
};
// };
// set window movable
this.setWindowsMovable();
return 0;
}