ydshieh HF staff commited on
Commit
024bddf
1 Parent(s): b07d8cd

Update split.js

Browse files
Files changed (1) hide show
  1. split.js +1 -0
split.js CHANGED
@@ -23,6 +23,7 @@ function fixDragBtn() {
23
 
24
  var gradio_container = document.getElementsByClassName("gradio-container")[0];
25
  var pb = w3_getStyleValue(gradio_container, "padding-bottom");
 
26
  console.log(pb);
27
 
28
 
 
23
 
24
  var gradio_container = document.getElementsByClassName("gradio-container")[0];
25
  var pb = w3_getStyleValue(gradio_container, "padding-bottom");
26
+ pb = Number(pb.replace("px", ""));
27
  console.log(pb);
28
 
29