From 3fb739c4e4caea8799698ec1be0166d23b495991 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 1 Jan 2016 18:14:26 -0500 Subject: [PATCH] log to console, not an alert This fires if you press the back button, which is annoying --- resources/views/layouts/master.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index 3ebfcafa4..98eaaf16d 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -68,7 +68,7 @@ }); socket.on('error', function (err) { - alert('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.'); + console.error('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.'); }); // Socket Sends Server Status on Connect