Skip to content

Commit 9229296

Browse files
committed
fix fp live status box not auto-refreshing when show goes live
1 parent 34fddc3 commit 9229296

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

browser-specific/chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Whenplane Widget",
44
"short_name": "Whenplane",
5-
"version": "2.1.2",
5+
"version": "2.1.3",
66

77
"description": "Replaces the floatplane/twitch offline box with a countdown from Whenplane",
88
"homepage_url": "https://whenplane.com/extension",

browser-specific/firefox/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Whenplane Widget",
44
"short_name": "Whenplane",
5-
"version": "2.1.2",
5+
"version": "2.1.3",
66

77
"description": "Replaces the floatplane/twitch offline box with a countdown from Whenplane",
88
"homepage_url": "https://whenplane.com/extension",

src/liveStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function insertLiveStatus(br: any) {
2727
}
2828

2929
let detectedIsLive: boolean | null = null;
30-
const detectedStatusBox = document.querySelector<HTMLDivElement>("._postDate_1ex24_57");
30+
const detectedStatusBox = document.querySelector<HTMLDivElement>("._postDate_1q79i_40") ?? document.querySelector<HTMLDivElement>("._postDate_o0oow_40");
3131
if(!detectedStatusBox) {
3232
console.warn("[whenplane extension] Unable to find postDate box (to detect live status)")
3333
} else {

0 commit comments

Comments
 (0)