nodebb-plugin-onekite-calendar 2.0.80 → 2.0.82

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/client.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-onekite-calendar",
3
- "version": "2.0.80",
3
+ "version": "2.0.82",
4
4
  "description": "FullCalendar-based equipment reservation workflow with admin approval & HelloAsso payment for NodeBB",
5
5
  "main": "library.js",
6
6
  "license": "MIT",
package/public/client.js CHANGED
@@ -1369,7 +1369,7 @@ function toDatetimeLocalValue(date) {
1369
1369
  const q = normalize(searchEl.value.trim());
1370
1370
  document.querySelectorAll('#onekite-items [data-itemid]').forEach((row) => {
1371
1371
  const name = normalize(row.querySelector('input.onekite-item-cb')?.getAttribute('data-name'));
1372
- row.style.display = (!q || name.includes(q)) ? '' : 'none';
1372
+ row.classList.toggle('d-none', !(!q || name.includes(q)));
1373
1373
  });
1374
1374
  });
1375
1375
  }