mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-09-30 04:57:50 +02:00
try to fix unsupported message
This commit is contained in:
parent
f6ff671b1a
commit
56baa6df6a
@ -246,7 +246,7 @@ function ohNo() {
|
||||
console.log("time seems synchronized");
|
||||
}
|
||||
})
|
||||
if (!BroadcastChannel) addToast("Unsupported browser", "This browser doesn't support required APIs");
|
||||
try {!BroadcastChannel} catch(e) {addToast("Unsupported browser", "This browser doesn't support required APIs");}
|
||||
new Date().getDay() === 3 && console.log("it's snapshot day 🐸 my dudes");
|
||||
new Date().getDate() === 1 && new Date().getMonth() === 3 && addToast("WARNING", "Your ViaVersion has expired, please renew it at https://viaversion.com/ for $99");
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user