Fix prefer-global-this error

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2024-12-07 16:11:35 +01:00
parent b7b9227b3a
commit e7f97baab1
12 changed files with 26 additions and 26 deletions

View File

@@ -77,7 +77,7 @@ $(function () {
// Do we want to start updating immediately?
// gravity.lp?go
var searchString = window.location.search.substring(1);
var searchString = globalThis.location.search.substring(1);
if (searchString.indexOf("go") !== -1) {
$("#gravityBtn").prop("disabled", true);
eventsource();