@pushword/js-helper 0.0.79 → 0.0.80
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.
- package/package.json +1 -1
- package/src/helpers.js +1 -1
package/package.json
CHANGED
package/src/helpers.js
CHANGED
|
@@ -205,7 +205,7 @@ export function addClassForNormalUser(attribute = 'data-acinb') {
|
|
|
205
205
|
var classToAdd = element.getAttribute(attribute);
|
|
206
206
|
element.removeAttribute(attribute);
|
|
207
207
|
element.classList.add(' ' + classToAdd);
|
|
208
|
-
if ((' ' + classToAdd + ' ').contains('
|
|
208
|
+
if ((' ' + classToAdd + ' ').contains('block ')) {
|
|
209
209
|
element.classList.remove('hidden');
|
|
210
210
|
}
|
|
211
211
|
});
|