We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22e80e7 commit f5d404cCopy full SHA for f5d404c
src/helpers/ariaAppHider.js
@@ -22,11 +22,12 @@ export function resetState() {
22
23
/* istanbul ignore next */
24
export function log() {
25
- if (process.env.NODE_ENV === "production") return;
26
- const check = globalElement || {};
27
- console.log("ariaAppHider ----------");
28
- console.log(check.nodeName, check.className, check.id);
29
- console.log("end ariaAppHider ----------");
+ if (process.env.NODE_ENV !== "production") {
+ var check = globalElement || {};
+ console.log("ariaAppHider ----------");
+ console.log(check.nodeName, check.className, check.id);
+ console.log("end ariaAppHider ----------");
30
+ }
31
}
32
/* eslint-enable no-console */
33
0 commit comments