Skip to content

Commit

Permalink
Fix High Low Helper again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashank999 committed Oct 2, 2023
1 parent 27ce032 commit 703d26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/scripts/features/high-low-helper/ttHighLowHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
addXHRListener(({ detail: { page, xhr, json } }) => {
if (!feature.enabled()) return;

if (page === "loader") {
if (page === "page") {
const params = new URL(xhr.responseURL).searchParams;
const sid = params.get("sid");

if (sid === "hiloJson" && json) {
if (sid === "highlowData" && json) {
switch (json.status) {
case "gameStarted":
if (json.currentGame[0].result === "Incorrect") {
Expand Down

0 comments on commit 703d26e

Please sign in to comment.