Omnibus commited on
Commit
ffb0c75
·
1 Parent(s): 9ede230

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -173,7 +173,11 @@ load_js = """
173
  console.log(a);
174
  console.log(b);
175
  var vv = document.getElementById(b);
176
- vv.style.border='red';
 
 
 
 
177
  return[a];
178
  }
179
  """
 
173
  console.log(a);
174
  console.log(b);
175
  var vv = document.getElementById(b);
176
+ if not vv.style.border-color=='red'{
177
+ vv.style.border-color='red';
178
+ } else {
179
+ vv.style.border-color='blue'
180
+ }
181
  return[a];
182
  }
183
  """