jglowa commited on
Commit
c6f596c
·
verified ·
1 Parent(s): 0b49c00

Update public/script.js

Browse files
Files changed (1) hide show
  1. public/script.js +1 -1
public/script.js CHANGED
@@ -7,7 +7,7 @@
7
  if (node instanceof HTMLElement) {
8
  const input = node.querySelector('#chat-input');
9
  if (input) {
10
- Object.getOwnPropertyDescriptor(Object.getPrototypeOf(input), 'value').set.call(el, params.get('q'));
11
  input.dispatchEvent(new Event('input', {bubbles: true}));
12
  obs.disconnect();
13
  return;
 
7
  if (node instanceof HTMLElement) {
8
  const input = node.querySelector('#chat-input');
9
  if (input) {
10
+ Object.getOwnPropertyDescriptor(Object.getPrototypeOf(input), 'value').set.call(input, params.get('q'));
11
  input.dispatchEvent(new Event('input', {bubbles: true}));
12
  obs.disconnect();
13
  return;