From 586c0772d52e77657752af5df23a751f7a1165ef Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Mon, 11 Mar 2013 12:54:39 +0000 Subject: [PATCH] Removed socket.io as it causes problems with compressor --- static/js/com.podnoms.realtime.js | 4 ++-- templates/base.html | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/static/js/com.podnoms.realtime.js b/static/js/com.podnoms.realtime.js index 50e3850..4ca02aa 100644 --- a/static/js/com.podnoms.realtime.js +++ b/static/js/com.podnoms.realtime.js @@ -29,10 +29,10 @@ socket.on('reconnecting', function () { }); socket.on('error', function (e) { - message('System', e ? e : 'A unknown error occurred'); + message('System', e ? e : 'An unknown error occurred'); }); function message (from, msg) { - alert(msg); + console.log(msg); $('#lines').append($('

').append($('').text(from), msg)); } diff --git a/templates/base.html b/templates/base.html index a0f21f3..f4a5975 100644 --- a/templates/base.html +++ b/templates/base.html @@ -93,7 +93,6 @@ - @@ -101,7 +100,6 @@ -