diff --git a/app/common/main-controller.js b/app/common/main-controller.js index 7bafbd6..9988d78 100644 --- a/app/common/main-controller.js +++ b/app/common/main-controller.js @@ -124,9 +124,11 @@ }; $rootScope.showArtists = function () { $('#left-component').css('display', ''); + $('#right-component').removeClass('lgcolumn_expandedleft'); }; $rootScope.hideArtists = function () { $('#left-component').css('display', 'none'); + $('#right-component').addClass('lgcolumn_expandedleft'); }; $scope.toggleArtists = function () { if ($('#left-component').css('display') == 'none') { diff --git a/app/common/player-service.js b/app/common/player-service.js index 6a85535..64e1e0a 100644 --- a/app/common/player-service.js +++ b/app/common/player-service.js @@ -1,4 +1,4 @@ -angular.module('JamStash') +angular.module('JamStash') .service('player', ['$rootScope', '$window', 'utils', 'globals', 'model', 'notifications', function ($rootScope, $window, utils, globals, model, notifications) { @@ -212,21 +212,6 @@ $rootScope.loadjPlayer(player1, url, suffix, loadonly, position); } - if (!loadonly) { - // Sway.fm UnityShim - var playerState = { - playing: true, - title: title, - artist: artist, - favorite: false, - albumArt: coverartfull - }; - if ($rootScope.unity) { - $rootScope.unity.sendState(playerState); - } - // End UnityShim - } - var spechtml = ''; var data = $(player1).data().jPlayer; for (var i = 0; i < data.solutions.length; i++) { diff --git a/app/index.html b/app/index.html index 2cd6a0d..03f2596 100755 --- a/app/index.html +++ b/app/index.html @@ -48,7 +48,7 @@
-