ydshieh HF staff commited on
Commit
9562792
·
verified ·
1 Parent(s): d4e71fe

Update split.js

Browse files
Files changed (1) hide show
  1. split.js +1 -0
split.js CHANGED
@@ -36,6 +36,7 @@ function fixDragBtn() {
36
  var doc = document.documentElement.getBoundingClientRect();
37
 
38
  var hello = document.getElementById("hello");
 
39
  var rect = hello.getBoundingClientRect();
40
 
41
 
 
36
  var doc = document.documentElement.getBoundingClientRect();
37
 
38
  var hello = document.getElementById("hello");
39
+ if (hello == null) return;
40
  var rect = hello.getBoundingClientRect();
41
 
42