Merge pull request #108 from tms/searchbox-key-interceptions

Prevent click from being trapped in the editor field
This commit is contained in:
Sam 2013-02-10 16:36:43 -08:00
commit 8eed88da27

View File

@ -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()