Update split.js
Browse files
split.js
CHANGED
@@ -82,7 +82,7 @@ function dragend() {
|
|
82 |
dragging = false;
|
83 |
}
|
84 |
|
85 |
-
if (window.addEventListener
|
86 |
console.log(document.getElementById("dragbar"));
|
87 |
console.log("****************")
|
88 |
document.getElementById("dragbar").addEventListener("mousedown", function(e) {dragstart(e);});
|
@@ -105,9 +105,9 @@ function w3_getStyleValue(elmnt,style) {
|
|
105 |
console.log(document.getElementById("container"));
|
106 |
console.log("***");
|
107 |
|
108 |
-
|
109 |
console.log(document.getElementById("container"));
|
110 |
console.log("*");
|
111 |
fixDragBtn();
|
112 |
-
|
113 |
|
|
|
82 |
dragging = false;
|
83 |
}
|
84 |
|
85 |
+
if (window.addEventListener) {
|
86 |
console.log(document.getElementById("dragbar"));
|
87 |
console.log("****************")
|
88 |
document.getElementById("dragbar").addEventListener("mousedown", function(e) {dragstart(e);});
|
|
|
105 |
console.log(document.getElementById("container"));
|
106 |
console.log("***");
|
107 |
|
108 |
+
|
109 |
console.log(document.getElementById("container"));
|
110 |
console.log("*");
|
111 |
fixDragBtn();
|
112 |
+
|
113 |
|