mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-29 21:17:02 +00:00
Update webloader.js
This commit is contained in:
parent
1b91503d7e
commit
d9b529d77a
15
webloader.js
15
webloader.js
|
@ -89,7 +89,7 @@ var IEVersion = (function() {
|
||||||
})();
|
})();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
setWindowDraggable: function() {
|
setWindowsMovable: function() {
|
||||||
var grip = document.getElementById('app'),
|
var grip = document.getElementById('app'),
|
||||||
oX, oY,
|
oX, oY,
|
||||||
mouseDown = function(e) {
|
mouseDown = function(e) {
|
||||||
|
@ -200,8 +200,17 @@ return {
|
||||||
});
|
});
|
||||||
this.addScript("app/assets/js/index.js");
|
this.addScript("app/assets/js/index.js");
|
||||||
|
|
||||||
// set window draggable
|
// "prevent text drag and drop"; {
|
||||||
this.setWindowDraggable();
|
document.body.ondragstart = function() {
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
document.body.ondrop = function() {
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
// };
|
||||||
|
|
||||||
|
// set window movable
|
||||||
|
this.setWindowsMovable();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user