Browse Source

Multiline messages support (Fix #223)

RobinLinus 4 năm trước cách đây
mục cha
commit
6a5ad0f1fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
         });
     }
 }