aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/websocket.js
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/static/js/websocket.js')
-rw-r--r--fg21sim/webui/static/js/websocket.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/fg21sim/webui/static/js/websocket.js b/fg21sim/webui/static/js/websocket.js
index 0480716..12c89a4 100644
--- a/fg21sim/webui/static/js/websocket.js
+++ b/fg21sim/webui/static/js/websocket.js
@@ -200,10 +200,7 @@ $(document).ready(function () {
// WebSocket NOT supported
console.warn("Oops, WebSocket is NOT supported!");
updateWSStatus("unsupported");
- // Create a modal box and show a warning
- var modalBox = $("<div>").addClass("modal").attr("id", "modal-websocket");
- $("body").append(modalBox);
- showModal(modalBox, {
+ showModal({
icon: "warning",
title: "WebSocket is NOT supported by the browser!",
contents: ("The <strong>necessary functionalities</strong> do NOT " +