And bumped Version
This commit is contained in:
@@ -217,7 +217,7 @@
|
||||
const emoteEl = document.getElementById("emote");
|
||||
const messageEl = document.getElementById("message");
|
||||
const POLL_INTERVAL = 2000;
|
||||
const VERSION = "v1.3.3";
|
||||
const VERSION = "v1.4.0";
|
||||
|
||||
// Sound system
|
||||
let audioCtx = null;
|
||||
@@ -325,7 +325,11 @@
|
||||
|
||||
function handleStateChange(newState, newEmote, customSound) {
|
||||
// Handle custom sound from notification
|
||||
if (customSound && customSound !== "none" && customSound !== lastCustomSound) {
|
||||
if (
|
||||
customSound &&
|
||||
customSound !== "none" &&
|
||||
customSound !== lastCustomSound
|
||||
) {
|
||||
playSoundByName(customSound);
|
||||
lastCustomSound = customSound;
|
||||
} else if (!customSound) {
|
||||
|
||||
Reference in New Issue
Block a user