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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -173,12 +173,12 @@ load_js = """
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
  """
184
 
 
173
  console.log(a);
174
  console.log(b);
175
  var vv = document.getElementById(b);
 
176
  vv.style.border-color='red';
177
+ window.location.search['info']='test123';
178
+ const params = new URLSearchParams(window.location.search);
179
+ console.log(params)
180
+ ab = Object.fromEntries(params);
181
+ return[ab];
182
  }
183
  """
184