Skip to content

Commit

Permalink
Character doesn't come free
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrove committed Apr 12, 2012
1 parent 5bc4e02 commit ddfc5d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -7,7 +7,7 @@ class Kandan.Views.ChannelTabs extends Backbone.View
@

createChannel: (event)->
channelName = prompt("What's the channel name?", @randomChannelName())
channelName = prompt("What's the channel name?", Kandan.Views.ChannelTabs.randomChannelName())
channelName = channelName.replace(/^\s+|\s+$/g, '')
if channelName
channel = new Kandan.Models.Channel({name: channelName})
Expand Down

0 comments on commit ddfc5d2

Please sign in to comment.