Skip to content

Commit

Permalink
Merge pull request discourse#108 from tms/searchbox-key-interceptions
Browse files Browse the repository at this point in the history
Prevent click from being trapped in the editor field
  • Loading branch information
SamSaffron committed Feb 11, 2013
2 parents 0dcba67 + 0dc5b9b commit 8eed88d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ window.Discourse.ComposerController = Ember.Controller.extend Discourse.Presence
click: ->
if @get('content.composeState') == Discourse.Composer.DRAFT
@set('content.composeState', Discourse.Composer.OPEN)
false

shrink: ->
if @get('content.reply') == @get('content.originalText') then @close() else @collapse()
Expand Down

0 comments on commit 8eed88d

Please sign in to comment.