mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-02-18 02:02:30 +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") {
|
if (Notification.permission == "default") {
|
||||||
Notification.requestPermission();
|
Notification.requestPermission();
|
||||||
}
|
}
|
||||||
|
$("#notificate").on("click", e => Notification.requestPermission());
|
||||||
|
|
||||||
connect();
|
connect();
|
||||||
});
|
});
|
||||||
|
@ -62,6 +62,7 @@
|
|||||||
<p>WebSocket connection status: <span id="connection_status" class="text-white bg-dark">?</span></p>
|
<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>
|
<p>CORS Proxy status: <span id="cors_status" class="text-white bg-dark">?</span></p>
|
||||||
<hr>
|
<hr>
|
||||||
|
<p><a href="javascript:" id="notificate">Enable notifications</a></p>
|
||||||
<p><span id="actions"></span></p>
|
<p><span id="actions"></span></p>
|
||||||
<p><span id="listening"></span></p>
|
<p><span id="listening"></span></p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user