mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
change position of button to close paste mode
This commit is contained in:
parent
d9c3d5172a
commit
62c02aaed3
3 changed files with 14 additions and 6 deletions
|
@ -181,9 +181,8 @@ class PeersUI {
|
|||
const xNoPeers = document.querySelectorAll('x-no-peers')[0];
|
||||
|
||||
xNoPeers.getElementsByTagName('h2')[0].innerHTML = 'Open PairDrop on other devices to send files';
|
||||
const cancelPasteModeBtn = document.getElementById('cancelPasteModeBtn');
|
||||
|
||||
cancelPasteModeBtn.setAttribute('hidden', "");
|
||||
this.$cancelPasteModeBtn.setAttribute('hidden', "");
|
||||
|
||||
console.log('Paste mode deactivated.')
|
||||
Events.fire('paste-mode-changed');
|
||||
|
@ -745,6 +744,7 @@ class PairDeviceDialog extends Dialog {
|
|||
if (!nextSibling) break;
|
||||
nextSibling.focus();
|
||||
}
|
||||
this.evaluateRoomKeyChars();
|
||||
}
|
||||
|
||||
evaluateRoomKeyChars() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue