mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-24 12:25:39 +01:00
try to fix firefox mobile notification
This commit is contained in:
parent
363e1a72fb
commit
23d0ed2574
@ -400,6 +400,7 @@ $(() => {
|
||||
if (Notification.permission == "default") {
|
||||
Notification.requestPermission();
|
||||
}
|
||||
|
||||
$("#notificate").on("click", e => Notification.requestPermission());
|
||||
|
||||
connect();
|
||||
});
|
||||
|
@ -62,6 +62,7 @@
|
||||
<p>WebSocket connection status: <span id="connection_status" class="text-white bg-dark">?</span></p>
|
||||
<p>CORS Proxy status: <span id="cors_status" class="text-white bg-dark">?</span></p>
|
||||
<hr>
|
||||
<p><a href="javascript:" id="notificate">Enable notifications</a></p>
|
||||
<p><span id="actions"></span></p>
|
||||
<p><span id="listening"></span></p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user