Remove trailing newlines inserted by Firefox.
This commit is contained in:
parent
e5e25c9a77
commit
4d27474019
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user