From: Andrew Karpow Date: Sun, 19 Jan 2014 01:11:37 +0000 (+0100) Subject: removed debug stuff, unused variable X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=e0d339c26d06c1668e8762a6c48695e95de2a34c;p=ympd.git removed debug stuff, unused variable --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 3c32e0c..bc16615 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -31,7 +31,6 @@ var last_state; var current_app; var lastSongTitle = ""; var current_song = new Object(); -var desktopNotification; var app = $.sammy(function() { this.before('/', function(e, data) { @@ -325,7 +324,6 @@ function webSocketConnect() { } socket.onclose = function(){ - console.log("Disconnected"); $('.top-right').notify({ message:{text:"Connection to ympd lost, retrying in 3 seconds "}, type: "danger", @@ -434,7 +432,6 @@ $('#btnrepeat').on('click', function (e) { }); $('#btnnotify').on('click', function (e) { - console.log("setting this"); if($.cookie("notification") === "true") $.cookie("notification", false); else {