Skip to content

Commit db65343

Browse files
committed
Fix. Code. JS error in ctProtectOutsideFunctionalHandler fixed.
1 parent a016216 commit db65343

9 files changed

+9
-9
lines changed

js/apbct-public-bundle_ext-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_ext-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection_gathering.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/prebuild/apbct-public-bundle_ext-protection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5118,7 +5118,7 @@ function ctProtectOutsideFunctionalHandler(entity, lsStorageName, lsUniqueName)
51185118
ctAttachCoverCSSToHead();
51195119
entityParent.appendChild(ctProtectOutsideFunctionalGenerateCover());
51205120
let entitiesProtected = apbctLocalStorage.get(lsStorageName);
5121-
if (false === entitiesProtected) {
5121+
if (false === entitiesProtected || !Array.isArray(entitiesProtected)) {
51225122
entitiesProtected = [];
51235123
}
51245124
if (lsUniqueName) {

js/prebuild/apbct-public-bundle_ext-protection_gathering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5118,7 +5118,7 @@ function ctProtectOutsideFunctionalHandler(entity, lsStorageName, lsUniqueName)
51185118
ctAttachCoverCSSToHead();
51195119
entityParent.appendChild(ctProtectOutsideFunctionalGenerateCover());
51205120
let entitiesProtected = apbctLocalStorage.get(lsStorageName);
5121-
if (false === entitiesProtected) {
5121+
if (false === entitiesProtected || !Array.isArray(entitiesProtected)) {
51225122
entitiesProtected = [];
51235123
}
51245124
if (lsUniqueName) {

js/prebuild/apbct-public-bundle_full-protection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5118,7 +5118,7 @@ function ctProtectOutsideFunctionalHandler(entity, lsStorageName, lsUniqueName)
51185118
ctAttachCoverCSSToHead();
51195119
entityParent.appendChild(ctProtectOutsideFunctionalGenerateCover());
51205120
let entitiesProtected = apbctLocalStorage.get(lsStorageName);
5121-
if (false === entitiesProtected) {
5121+
if (false === entitiesProtected || !Array.isArray(entitiesProtected)) {
51225122
entitiesProtected = [];
51235123
}
51245124
if (lsUniqueName) {

js/prebuild/apbct-public-bundle_full-protection_gathering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5118,7 +5118,7 @@ function ctProtectOutsideFunctionalHandler(entity, lsStorageName, lsUniqueName)
51185118
ctAttachCoverCSSToHead();
51195119
entityParent.appendChild(ctProtectOutsideFunctionalGenerateCover());
51205120
let entitiesProtected = apbctLocalStorage.get(lsStorageName);
5121-
if (false === entitiesProtected) {
5121+
if (false === entitiesProtected || !Array.isArray(entitiesProtected)) {
51225122
entitiesProtected = [];
51235123
}
51245124
if (lsUniqueName) {

js/src/public-2-external-forms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ function ctProtectOutsideFunctionalHandler(entity, lsStorageName, lsUniqueName)
578578
ctAttachCoverCSSToHead();
579579
entityParent.appendChild(ctProtectOutsideFunctionalGenerateCover());
580580
let entitiesProtected = apbctLocalStorage.get(lsStorageName);
581-
if (false === entitiesProtected) {
581+
if (false === entitiesProtected || !Array.isArray(entitiesProtected)) {
582582
entitiesProtected = [];
583583
}
584584
if (lsUniqueName) {

0 commit comments

Comments
 (0)