ydshieh HF Staff commited on
Commit
41c463c
·
verified ·
1 Parent(s): dd7b253

Update split.js

Browse files
Files changed (1) hide show
  1. split.js +4 -0
split.js CHANGED
@@ -82,6 +82,7 @@ function dragend() {
82
  dragging = false;
83
  }
84
 
 
85
  if (window.addEventListener && document.getElementById("container") != null) {
86
  console.log(document.getElementById("dragbar"));
87
  console.log("****************")
@@ -93,6 +94,9 @@ if (window.addEventListener && document.getElementById("container") != null) {
93
  window.addEventListener("touchend", dragend);
94
  window.addEventListener("load", fixDragBtn);
95
  }
 
 
 
96
 
97
  function w3_getStyleValue(elmnt,style) {
98
  if (window.getComputedStyle) {
 
82
  dragging = false;
83
  }
84
 
85
+ function initfn() {
86
  if (window.addEventListener && document.getElementById("container") != null) {
87
  console.log(document.getElementById("dragbar"));
88
  console.log("****************")
 
94
  window.addEventListener("touchend", dragend);
95
  window.addEventListener("load", fixDragBtn);
96
  }
97
+ }
98
+
99
+ initfn()
100
 
101
  function w3_getStyleValue(elmnt,style) {
102
  if (window.getComputedStyle) {