eliminate need for javascript on page load
This commit is contained in:
parent
249cf396d5
commit
d1359518f6
|
@ -7,14 +7,13 @@
|
|||
<script>
|
||||
const set_session_url = '{{ url_for("set_session") }}';
|
||||
</script>
|
||||
<script>window.onload = load;</script>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
Style sheet:
|
||||
<select id="styleSheetSelector" onChange="swapStyleSheet()">
|
||||
<option name="ss.css" value="ss.css">Light</option>
|
||||
<option name="ss-dark.css" value="ss-dark.css">Dark</option>
|
||||
<option name="ss.css" value="ss.css"{% if style_sheet == 'ss.css' %} selected{% endif %}>Light</option>
|
||||
<option name="ss-dark.css" value="ss-dark.css"{% if style_sheet == 'dark-ss.css' %} selected{% endif %}>Dark</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="globalContainer">
|
||||
|
|
Loading…
Reference in New Issue
Block a user