Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
asxelot committed Oct 24, 2015
1 parent 81e775f commit 7cc8928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ angular.module('FlameSlackApp')
$scope.channels.$save()
$scope.messages[$scope.newChannelName] = Messages($scope.newChannelName)
$scope.newChannelName = ''
$scope.isNewChannelFormHidden = true
$scope.isNewChannelFormShowed = false
}
})

Expand Down
2 changes: 1 addition & 1 deletion app/factories.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ angular.module('FlameSlackApp')
})

.factory('Messages', function($firebaseArray, FB) {
var msgRef = new Firebase(FB + 'messages/')
var msgRef = new Firebase(FB + 'messages')

return function(channel) {
return $firebaseArray(msgRef.child(channel))
Expand Down

0 comments on commit 7cc8928

Please sign in to comment.