fix reload_page btn

pull/83/head
Aevann 2023-01-01 04:53:35 +02:00
parent 03fb84e618
commit f65f714b94
4 changed files with 4 additions and 4 deletions

View File

@ -105,6 +105,6 @@ for (const element of setting_reloads) {
};
}
const reload_page = document.getElementById('reload-page')
const reload_page = document.getElementById('reload_page')
if (reload_page)
reload_page.onclick = ()=>{location.reload()};

View File

@ -1,3 +1,3 @@
const reload_page = document.getElementById('reload-page')
const reload_page = document.getElementById('reload_page')
if (reload_page)
reload_page.onclick = ()=>{location.reload()};

File diff suppressed because one or more lines are too long

View File

@ -83,7 +83,7 @@
</div>
{% endif %}
{% if g.browser in ('webview','apple') or True %}
{% if g.browser in ('webview','apple') %}
<button id="reload_page" type="button" class="mobile-nav-icon d-md-none"><i class="fas fa-arrow-rotate-right align-middle text-gray-500 black"></i></button>
{% endif %}