diff --git a/files/assets/js/bottom.js b/files/assets/js/bottom.js index 5366b6e81..feebeb0a7 100644 --- a/files/assets/js/bottom.js +++ b/files/assets/js/bottom.js @@ -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")) diff --git a/files/assets/js/offline.js b/files/assets/js/offline.js deleted file mode 100644 index bf0f60dd3..000000000 --- a/files/assets/js/offline.js +++ /dev/null @@ -1,3 +0,0 @@ -const reload_page = document.getElementById('reload_page') -if (reload_page) - reload_page.addEventListener('click', () => {location.reload()}); diff --git a/files/assets/offline.html b/files/assets/offline.html index 79e7427f0..cd9f96b54 100644 --- a/files/assets/offline.html +++ b/files/assets/offline.html @@ -2,13 +2,12 @@ No Internet Connection -

No Internet

You need an internet connection to browse this site

- + Refresh
diff --git a/files/templates/header.html b/files/templates/header.html index b8f5aace7..c57f4869c 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -95,7 +95,7 @@ {% endif %} {% if g.browser in ('webview','apple') %} - + {% endif %} {% if v %}