ranamhamoud commited on
Commit
4d722d1
โ€ข
1 Parent(s): 70579dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -169,8 +169,8 @@ js_func = """
169
  function refresh() {
170
  const url = new URL(window.location);
171
 
172
- if (url.searchParams.get('__theme') !== 'dark') {
173
- url.searchParams.set('__theme', 'dark');
174
  window.location.href = url.href;
175
  }
176
  }
 
169
  function refresh() {
170
  const url = new URL(window.location);
171
 
172
+ if (url.searchParams.get('__theme') !== 'light') {
173
+ url.searchParams.set('__theme', 'light');
174
  window.location.href = url.href;
175
  }
176
  }