diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-09 20:22:17 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-09 20:22:17 +0100 |
commit | 9966f82dcbcf6df851ca088c4060ca8b1a981036 (patch) | |
tree | 20a3d6e95c214c5e9b6f0ce5678ae10fab017a44 /src/main/kotlin/pl/treksoft/kvision | |
parent | 4c55364efdc426faae10febda49ad40164fdab7a (diff) | |
download | kvision-9966f82dcbcf6df851ca088c4060ca8b1a981036.tar.gz kvision-9966f82dcbcf6df851ca088c4060ca8b1a981036.tar.bz2 kvision-9966f82dcbcf6df851ca088c4060ca8b1a981036.zip |
Internet Explorer compatibility fix.0.0.2
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt index ffdcc045..d90c5769 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/RichTextInput.kt @@ -89,8 +89,8 @@ open class RichTextInput(value: String? = null, classes: Set<String> = setOf()) } override fun afterDestroy() { - document.getElementById("trix-input-" + trixId)?.remove() - document.getElementById("trix-toolbar-" + trixId)?.remove() + document.getElementById("trix-input-" + trixId)?.let { jQuery(it).remove() } + document.getElementById("trix-toolbar-" + trixId)?.let { jQuery(it).remove() } trixId = null } |