Remove trailing newlines inserted by Firefox.

This commit is contained in:
ccd0 2015-02-08 14:21:16 -08:00
parent e5e25c9a77
commit 4d27474019

View File

@ -62,7 +62,7 @@ Banner =
blur: ->
$.replace br, $.tn('\n') for br in $$ 'br', @
if @textContent
if @textContent = @textContent.replace /\n*$/, ''
@contentEditable = false
Banner.db.set
boardID: g.BOARD.ID