Prevent click from being trapped in the editor field
This commit is contained in:
parent
946255fcc4
commit
0dc5b9be39
|
@ -129,7 +129,6 @@ window.Discourse.ComposerController = Ember.Controller.extend Discourse.Presence
|
||||||
click: ->
|
click: ->
|
||||||
if @get('content.composeState') == Discourse.Composer.DRAFT
|
if @get('content.composeState') == Discourse.Composer.DRAFT
|
||||||
@set('content.composeState', Discourse.Composer.OPEN)
|
@set('content.composeState', Discourse.Composer.OPEN)
|
||||||
false
|
|
||||||
|
|
||||||
shrink: ->
|
shrink: ->
|
||||||
if @get('content.reply') == @get('content.originalText') then @close() else @collapse()
|
if @get('content.reply') == @get('content.originalText') then @close() else @collapse()
|
||||||
|
|
Loading…
Reference in New Issue