Fix spacing.

This commit is contained in:
jcass 2016-02-29 20:59:43 +02:00
parent 3de53a0a1b
commit 2596946778

View File

@ -194,13 +194,13 @@ function popupTracks(e, listuri, trackuri, tlid) {
var popupName = ''; var popupName = '';
if (divid == 'current') { if (divid == 'current') {
$(".addqueue").hide(); $(".addqueue").hide();
popupName = '#popupQueue'; popupName = '#popupQueue';
} else if (divid == 'browse') { } else if (divid == 'browse') {
$(".addqueue").show(); $(".addqueue").show();
popupName = '#popupBrowse'; popupName = '#popupBrowse';
} else { } else {
$(".addqueue").show(); $(".addqueue").show();
popupName = '#popupTracks'; popupName = '#popupTracks';
} }
if (typeof tlid != 'undefined' && tlid !== '') { if (typeof tlid != 'undefined' && tlid !== '') {
@ -522,15 +522,13 @@ $(document).ready(function(event) {
}); });
//navigation temporary, rewrite this! //navigation temporary, rewrite this!
$('#songinfo').click( $('#songinfo').click(function() {
function() {
return switchContent('nowPlaying'); return switchContent('nowPlaying');
}); });
$('#controlspopupimage').click( $('#controlspopupimage').click(function() {
function() { return switchContent('current');
return switchContent('current');
}); });
$('#navToggleFullscreen').click(function(){ $('#navToggleFullscreen').click(function() {
toggleFullscreen(); toggleFullscreen();
}); });