diff --git a/app/controllers/controllers.js b/app/controllers/controllers.js index baa96bb..8a7fdc4 100644 --- a/app/controllers/controllers.js +++ b/app/controllers/controllers.js @@ -15,6 +15,7 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope // start game $scope.startGame = function () { // reset all game variables + $scope.timeLeft = 15; $scope.timelineSongs = []; $scope.timelineYears = []; $scope.currentSong = undefined; @@ -27,7 +28,6 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope $scope.comboplyer = 1; $scope.roundActive = false; - var loopImages = function(){ $('#combo-div').fadeIn(1500, function(){ @@ -38,6 +38,7 @@ app.controller('januController', ['$scope','$http','$interval', function ($scope loopImages(); // this is the first song the user guesses + $("#song-details").hide(); firstSong = fetchNewSong(); $('#album-cover').addClass('no-blur'); playSong(firstSong); diff --git a/app/partials/game.html b/app/partials/game.html index 6fb86b8..6bf84fa 100644 --- a/app/partials/game.html +++ b/app/partials/game.html @@ -7,7 +7,7 @@