fixup for d28e9ea: add support for clipboard.readText()
authorDamyan Ivanov <dmn@debian.org>
Wed, 26 Sep 2018 09:27:12 +0000 (09:27 +0000)
committerDamyan Ivanov <dmn@debian.org>
Wed, 26 Sep 2018 09:27:12 +0000 (09:27 +0000)
icedeb.js

index 902ba3b..4111777 100644 (file)
--- a/icedeb.js
+++ b/icedeb.js
@@ -205,6 +205,7 @@ function check_likely_inputs(q) {
 }
 
 function react_to_clipboard_text(text) {
+  let clip_input = document.getElementById("clipboard");
   clip_input.value = text;
   clip_input.focus();
   clip_input.setSelectionRange(0, clip_input.value.length);