From e00776ea64133f020ea4ec98b8f1aa15bf8a8358 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 23 May 2017 10:53:19 +0200 Subject: [PATCH] Fixed issue #764 - Not showing TO: / CC: fields on IE11 when answering a ticket. --- app/assets/javascripts/app/lib/app_post/utils.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/app/lib/app_post/utils.coffee b/app/assets/javascripts/app/lib/app_post/utils.coffee index 44e4ff560..8be20ad0e 100644 --- a/app/assets/javascripts/app/lib/app_post/utils.coffee +++ b/app/assets/javascripts/app/lib/app_post/utils.coffee @@ -125,6 +125,7 @@ class App.Utils child = el.firstChild break if !child break if child.nodeType isnt 1 || child.tagName isnt 'BR' + break if !child.remove child.remove() loop @@ -133,6 +134,7 @@ class App.Utils child = el.lastChild break if !child break if child.nodeType isnt 1 || child.tagName isnt 'BR' + break if !child.remove child.remove() # true|false = App.Utils.htmlLastLineEmpty(element)