Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
stop alerting errors.. they stop the playback
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed Jan 29, 2015
1 parent 9b19f17 commit fa4a60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partial/room/room.js
Expand Up @@ -285,7 +285,7 @@ angular.module('wejay').controller('RoomCtrl',function(socket, $rootScope, $scop
$scope.skip = function(song){
socket.emit('skip', song || $scope.nowPlaying, function(message){
if (/Error:/.test(message)) {
$window.alert(message);
console.log(message);
}
});
};
Expand Down

0 comments on commit fa4a60d

Please sign in to comment.