Update on button click

This commit is contained in:
Neale Pickett 2019-10-26 16:46:03 -06:00
parent 81846f007d
commit 0df9e5cd44
2 changed files with 3 additions and 2 deletions

View File

@ -64,7 +64,7 @@ Making X11 work
X11 at the time wanted `udev`, X11 at the time wanted `udev`,
so I just ran that from init. so I just ran that from init.
But, a few months later, But, a few months later,
X was able to start with `udev`, X was able to start without `udev`,
so I took it out and figured out the keyboard and mouse problem. so I took it out and figured out the keyboard and mouse problem.
It had something to do with `evdev`; It had something to do with `evdev`;

View File

@ -8,6 +8,7 @@ function addWords(wl) {
re.value = "" re.value = ""
re.disabled = false re.disabled = false
re.focus() re.focus()
re.dispatchEvent(new Event("input"))
} }
function regexInput(e) { function regexInput(e) {
@ -29,7 +30,6 @@ function regexInput(e) {
li.textContent = "…" li.textContent = "…"
break break
} }
} }
} }
} }
@ -42,6 +42,7 @@ function anchorToggle(e) {
} }
re.value = val re.value = val
re.focus() re.focus()
re.dispatchEvent(new Event("input"))
} }
function init(e) { function init(e) {