From 414577a00ebb59cfe4c3b0db50417908290d1289 Mon Sep 17 00:00:00 2001 From: Russell2259 <84256826+Russell2259@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:38:35 -0700 Subject: [PATCH] patch --- static/assets/js/main.js | 2 +- static/view.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@
- +