Avoid icons in shell
Very weird... lately icons are not properly displayed on browser!
This commit is contained in:
parent
3a073db029
commit
645a5b2507
@ -173,8 +173,8 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
|||||||
<div class="emscripten" id="status">Downloading...</div>
|
<div class="emscripten" id="status">Downloading...</div>
|
||||||
|
|
||||||
<span id='controls'>
|
<span id='controls'>
|
||||||
<span><input type="button" value="🖵 FULLSCREEN" onclick="Module.requestFullscreen(false, false)"></span>
|
<span><input type="button" value="FULLSCREEN" onclick="Module.requestFullscreen(false, false)"></span>
|
||||||
<span><input type="button" id="btn-audio" value="🔇 SUSPEND" onclick="toggleAudio()"></span>
|
<span><input type="button" id="btn-audio" value="AUDIO OFF" onclick="toggleAudio()"></span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="emscripten">
|
<div class="emscripten">
|
||||||
@ -305,7 +305,7 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
|||||||
construct(target, args) {
|
construct(target, args) {
|
||||||
const result = new target(...args);
|
const result = new target(...args);
|
||||||
audioContexList.push(result);
|
audioContexList.push(result);
|
||||||
if (result.state == "suspended") audioBtn.value = "🔈 RESUME";
|
if (result.state == "suspended") audioBtn.value = "AUDIO ON";
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -318,8 +318,8 @@ jwE50AGjLCVuS8Yt4H7OgZLKK5EKOsLviEWJSL/+0uMi7gLUSBseYwqEbXvSHCec1CJvZPyHCmYQffaB
|
|||||||
else if (ctx.state == "running") ctx.suspend();
|
else if (ctx.state == "running") ctx.suspend();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (resumed) audioBtn.value = "🔇 SUSPEND";
|
if (resumed) audioBtn.value = "AUDIO OFF";
|
||||||
else audioBtn.value = "🔈 RESUME";
|
else audioBtn.value = "AUDIO ON";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{{ SCRIPT }}}
|
{{{ SCRIPT }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user