diff --git a/static/assets/js/main.js b/static/assets/js/main.js index d8cd7e5..6e96d0e 100644 --- a/static/assets/js/main.js +++ b/static/assets/js/main.js @@ -61,7 +61,7 @@ if (window.self === window.top && location.pathname !== '/view') setTimeout(asyn if (location.pathname === '/cheats') Cheats.load(); }, 500); -fetch('/api/changelog') +if (location.pathname !== '/view') fetch('/api/changelog') .then(res => res.json()) .then(changelog => { document.querySelector('#version').textContent = changelog.version !== 'unknown' ? 'v' + changelog.version : changelog.version; diff --git a/static/view.html b/static/view.html index fbfde3f..63cde1e 100644 --- a/static/view.html +++ b/static/view.html @@ -13,7 +13,7 @@ - +