js_lis 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,11 @@ export class VirtualKeyboard {
44
44
  this.setCurrentInput(target);
45
45
  }
46
46
  }, true);
47
+
48
+ document.addEventListener('click', (e) => {
49
+ const target = document.getElementById("toggle");
50
+ target.addEventListener('click', this.toggle.bind(this), { once: true });
51
+ });
47
52
  }
48
53
 
49
54
  setCurrentInput(inputElement) {
@@ -434,4 +439,5 @@ export class VirtualKeyboard {
434
439
  keyboard.style.top = `${event.clientY - this.offsetY}px`;
435
440
  }
436
441
  }
442
+
437
443
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js_lis",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"