diff --git a/static/entrypoint.js b/static/entrypoint.js index aa8f4ea35..980c37a88 100644 --- a/static/entrypoint.js +++ b/static/entrypoint.js @@ -779,7 +779,7 @@ configureCustomKeys(loaderElement); if (window.location.hostname !== 'santatracker.google.com') { try { const params = new URLSearchParams(window.location.search); - const testLocation = params.get('adjustSanta'); + const testLocation = Number.parseFloat(params.get('adjustSanta')); if (testLocation >= 0 && testLocation <= 1) { window.santaApp.adjustSanta(testLocation); }