diff --git a/public/index.html b/public/index.html index 03aeba6..22951e5 100644 --- a/public/index.html +++ b/public/index.html @@ -152,7 +152,7 @@

Send a Message

-
+
Cancel diff --git a/public/scripts/ui.js b/public/scripts/ui.js index f9e2adc..343f985 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -226,19 +226,19 @@ class PeerUI { html() { let title; - let textInput; + let input; if (window.pasteMode.activated) { title = `Click to send ${window.pasteMode.descriptor} directly`; - textInput = ''; + input = ''; } else { title = 'Click to send files or right click to send a message'; - textInput = ''; + input = ''; } return `