Pārlūkot izejas kodu

Multiline messages support (Fix #223)

RobinLinus 4 gadi atpakaļ
vecāks
revīzija
6a5ad0f1fb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      client/scripts/ui.js

+ 1 - 1
client/scripts/ui.js

@@ -335,7 +335,7 @@ class SendTextDialog extends Dialog {
         e.preventDefault();
         Events.fire('send-text', {
             to: this._recipient,
-            text: this.$text.textContent
+            text: this.$text.innerText
         });
     }
 }