Ifeanyi commited on
Commit
e6b7a5e
1 Parent(s): 2456cfe

Update theme_dropdown.py

Browse files
Files changed (1) hide show
  1. theme_dropdown.py +1 -1
theme_dropdown.py CHANGED
@@ -44,7 +44,7 @@ def create_theme_dropdown():
44
  f"""
45
  (theme) => {{
46
  if (!document.querySelector('.theme-css')) {{
47
- var theme_elem = document.createElement('scale');
48
  theme_elem.classList.add('theme-css');
49
  document.head.appendChild(theme_elem);
50
  }} else {{
 
44
  f"""
45
  (theme) => {{
46
  if (!document.querySelector('.theme-css')) {{
47
+ var theme_elem = document.createElement('style');
48
  theme_elem.classList.add('theme-css');
49
  document.head.appendChild(theme_elem);
50
  }} else {{