Skip to content

Commit 7c0d456

Browse files
committed
fix typeof check
1 parent 4dcd0a5 commit 7c0d456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ const waitForDocumentReady = () =>
4444

4545
// only load translations if we're using the full, un-minified library
4646
const waitingForTranslator =
47-
typeof IS_MINIFIED === undefined ? initTranslator() : Promise.resolve();
47+
typeof IS_MINIFIED === 'undefined' ? initTranslator() : Promise.resolve();
4848

4949
Promise.all([waitForDocumentReady(), waitingForTranslator]).then(_globalInit);

0 commit comments

Comments
 (0)