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);});
|
|
|
82 |
dragging = false;
|
83 |
}
|
84 |
|
85 |
+
if (window.addEventListener && document.getElementById("container") != null) {
|
86 |
console.log(document.getElementById("dragbar"));
|
87 |
console.log("****************")
|
88 |
document.getElementById("dragbar").addEventListener("mousedown", function(e) {dragstart(e);});
|