nv-log-bw 1.0.0 → 1.0.1

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.
@@ -20,3 +20,10 @@ const _path = require("path");
20
20
  html = html.replace(/@SCRIPT@/g,script);
21
21
  _fs.writeFileSync(_path.join(__dirname,"../TEST/once.html"),html);
22
22
  }
23
+
24
+ {
25
+ let html = _fs.readFileSync(_path.join(__dirname,"once.html")).toString();
26
+ let script = _fs.readFileSync(_path.join(__dirname,"../index.js")).toString();
27
+ html = html.replace(/@SCRIPT@/g,script);
28
+ _fs.writeFileSync(_path.join(__dirname,"../TEST/once2.html"),html);
29
+ }
package/index.js CHANGED
@@ -993,8 +993,7 @@ class NvLogViewer extends HTMLElement {
993
993
  e.preventDefault();
994
994
  this.copyLogs();
995
995
  } else if (e.target.classList.contains('filter-checkbox')) {
996
- e.stopPropagation();
997
- e.preventDefault();
996
+ e.stopPropagation();
998
997
  this._applyFilters();
999
998
  } else if (e.target.id === 'minimizeBtn') {
1000
999
  e.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nv-log-bw",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"