ydshieh HF staff commited on
Commit
b07d8cd
1 Parent(s): 04b67a1

Update split.js

Browse files
Files changed (1) hide show
  1. split.js +1 -1
split.js CHANGED
@@ -22,7 +22,7 @@ var stack;
22
  function fixDragBtn() {
23
 
24
  var gradio_container = document.getElementsByClassName("gradio-container")[0];
25
- var pb = gradio_container.currentStyle["padding-bottom"];
26
  console.log(pb);
27
 
28
 
 
22
  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