# HG changeset patch # User Michiel Broek # Date 1618128584 -7200 # Node ID 6bb819bf919b0f0c74e984ebb8e55f9648f5fbd6 # Parent 08f91a68e757e0cd7e437f2a968e6991e783a360 Removed websocket debug info from the mainmenu diff -r 08f91a68e757 -r 6bb819bf919b www/includes/global.inc.php --- a/www/includes/global.inc.php Sat Apr 10 16:36:05 2021 +0200 +++ b/www/includes/global.inc.php Sun Apr 11 10:09:44 2021 +0200 @@ -1,6 +1,6 @@ * @@ -282,7 +282,6 @@
  • Informatie
  • -
  • diff -r 08f91a68e757 -r 6bb819bf919b www/js/global.js --- a/www/js/global.js Sat Apr 10 16:36:05 2021 +0200 +++ b/www/js/global.js Sun Apr 11 10:09:44 2021 +0200 @@ -1,9 +1,9 @@ /***************************************************************************** - * Copyright (C) 2014-2020 + * Copyright (C) 2014-2021 * * Michiel Broek * - * This file is part of BrewCloud + * This file is part of BMS * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -773,17 +773,8 @@ /* Websocket interface. Place "websocket.onmessage = function(evt) {}" in the user script. */ var websocket = new ReconnectingWebSocket('ws://'+location.hostname+'/ws'); -websocket.onopen = function(evt) { - $('#wsstatus').html('WebSocket open'); -} - -websocket.onclose = function(evt) { - $('#wsstatus').html('WebSocket closed'); -} - websocket.onerror = function(event) { console.log('Websocket error: ' + event.data); - $('#wsstatus').html('WebSocket error: ' + event.data); } $(document).ready(function() {