diff --git a/public/scripts/ui.js b/public/scripts/ui.js index 3a6d05f..4e77684 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -436,14 +436,12 @@ class PeerUI {
-
`; this.$el.querySelector('svg use').setAttribute('xlink:href', this._icon()); this.$el.querySelector('.name').textContent = this._displayName(); this.$el.querySelector('.device-name').textContent = this._deviceName(); - this.$el.querySelector('.connection-hash').textContent = this._connectionHash; } addTypesToClassList() { @@ -1852,8 +1850,8 @@ class SendTextDialog extends Dialog { to: this.correspondingPeerId, text: this.$text.innerText }); - this.$text.innerText = ""; this.hide(); + setTimeout(() => this.$text.innerText = "", 300); } } diff --git a/public/styles.css b/public/styles.css index 4d5d777..7e760f5 100644 --- a/public/styles.css +++ b/public/styles.css @@ -558,18 +558,11 @@ x-peer[status] x-icon { } .status, -.device-name, -.connection-hash { - opacity: 0.7; -} - .device-name { + opacity: 0.7; white-space: nowrap; } -.connection-hash { - white-space: nowrap; -} x-peer:not([status]) .status, x-peer[status] .device-name {