mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
Cleanup
This commit is contained in:
parent
612d8cf1ea
commit
85dedf03ce
4 changed files with 6 additions and 5 deletions
|
@ -6,8 +6,8 @@ window.isProductionEnvironment = !window.location.host.startsWith('localhost');
|
|||
window.iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
||||
|
||||
// set display name
|
||||
Events.on('displayName', e => {
|
||||
$("displayName").textContent = "You are known as " + e.detail.message;
|
||||
Events.on('display-name', e => {
|
||||
$('displayName').textContent = 'You are known as ' + e.detail.message;
|
||||
});
|
||||
|
||||
class PeersUI {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue