mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 14:57:17 +00:00
removed debug stuff, unused variable
This commit is contained in:
parent
f4a1efdd88
commit
e0d339c26d
@ -31,7 +31,6 @@ var last_state;
|
|||||||
var current_app;
|
var current_app;
|
||||||
var lastSongTitle = "";
|
var lastSongTitle = "";
|
||||||
var current_song = new Object();
|
var current_song = new Object();
|
||||||
var desktopNotification;
|
|
||||||
|
|
||||||
var app = $.sammy(function() {
|
var app = $.sammy(function() {
|
||||||
this.before('/', function(e, data) {
|
this.before('/', function(e, data) {
|
||||||
@ -325,7 +324,6 @@ function webSocketConnect() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
socket.onclose = function(){
|
socket.onclose = function(){
|
||||||
console.log("Disconnected");
|
|
||||||
$('.top-right').notify({
|
$('.top-right').notify({
|
||||||
message:{text:"Connection to ympd lost, retrying in 3 seconds "},
|
message:{text:"Connection to ympd lost, retrying in 3 seconds "},
|
||||||
type: "danger",
|
type: "danger",
|
||||||
@ -434,7 +432,6 @@ $('#btnrepeat').on('click', function (e) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#btnnotify').on('click', function (e) {
|
$('#btnnotify').on('click', function (e) {
|
||||||
console.log("setting this");
|
|
||||||
if($.cookie("notification") === "true")
|
if($.cookie("notification") === "true")
|
||||||
$.cookie("notification", false);
|
$.cookie("notification", false);
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user