Spaces:
Running
Running
Update public/script.js
Browse files- public/script.js +1 -1
public/script.js
CHANGED
|
@@ -5,7 +5,7 @@ addEventListener('load', () => {
|
|
| 5 |
for (const m of mut) {
|
| 6 |
for (const node of m.addedNodes) {
|
| 7 |
if (node instanceof HTMLElement) {
|
| 8 |
-
const input = node.
|
| 9 |
if (input) {
|
| 10 |
input.value = params.get('q');
|
| 11 |
obs.disconnect();
|
|
|
|
| 5 |
for (const m of mut) {
|
| 6 |
for (const node of m.addedNodes) {
|
| 7 |
if (node instanceof HTMLElement) {
|
| 8 |
+
const input = node.querySelector('#chat-input');
|
| 9 |
if (input) {
|
| 10 |
input.value = params.get('q');
|
| 11 |
obs.disconnect();
|