forked from MarseyWorld/MarseyWorld
use href attribute for refreshing instead of js
parent
8f4ba57b6f
commit
338033df2b
|
@ -89,11 +89,6 @@ for (const element of setting_selects) {
|
|||
});
|
||||
}
|
||||
|
||||
const reload_page = document.getElementById('reload_page')
|
||||
if (reload_page) {
|
||||
reload_page.addEventListener('click', () => {location.reload()});
|
||||
}
|
||||
|
||||
const TH = document.getElementsByTagName('th')
|
||||
for (const element of TH) {
|
||||
if (element.classList.contains("disable-sort-click"))
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
const reload_page = document.getElementById('reload_page')
|
||||
if (reload_page)
|
||||
reload_page.addEventListener('click', () => {location.reload()});
|
File diff suppressed because one or more lines are too long
|
@ -95,7 +95,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% 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>
|
||||
<a href="" type="button" class="mobile-nav-icon d-md-none"><i class="fas fa-arrow-rotate-right align-middle text-gray-500 black"></i></a>
|
||||
{% endif %}
|
||||
|
||||
{% if v %}
|
||||
|
|
Loading…
Reference in New Issue