2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

Prevent click from being trapped in the editor field

This commit is contained in:
tms 2013-02-10 18:36:11 -05:00
parent 946255fcc4
commit 0dc5b9be39

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