pull/600/head
sachaaaaa 6 years ago
parent b324421534
commit 46613de846

@ -79,7 +79,7 @@
if (!errors) { if (!errors) {
this.$('.transmissionStatus').text(i18n('provideDeviceAlias')); this.$('.transmissionStatus').text(i18n('provideDeviceAlias'));
this.$('#deviceAliasView').show(); this.$('#deviceAliasView').show();
this.$('#deviceAlias').on('keydown', (e) => { this.$('#deviceAlias').on('keydown', e => {
if (e.target.value.trim()) { if (e.target.value.trim()) {
this.$('.requestAcceptedView .ok').removeAttr('disabled'); this.$('.requestAcceptedView .ok').removeAttr('disabled');
} else { } else {
@ -124,7 +124,9 @@
if (conv) { if (conv) {
deviceAlias = conv.getNickname(); deviceAlias = conv.getNickname();
} }
this.$('#pairedPubKeys').append(`<li>${deviceAlias} (${secretWords})</li>`); this.$('#pairedPubKeys').append(
`<li>${deviceAlias} (${secretWords})</li>`
);
}); });
} }
} else if (this.accepted) { } else if (this.accepted) {

Loading…
Cancel
Save