@innovastudio/contentbox 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -27941,7 +27941,7 @@ class Element$2 {
27941
27941
  btnVisibility.forEach(btn => {
27942
27942
  btn.addEventListener('click', () => {
27943
27943
  const s = btn.getAttribute('data-visibility');
27944
- const target = this.section.getDeviceTarget(divTarget);
27944
+ const target = this.getDeviceTarget(divTarget);
27945
27945
  this.setVisibility(s, target);
27946
27946
  btnVisibility.forEach(btn => btn.classList.remove('on'));
27947
27947
  btn.classList.add('on');