Skip to content

Commit

Permalink
fixed check window exists #2037
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Jul 30, 2020
1 parent 02118e8 commit 74ccc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser-extensions/URLBrowserResolver.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

// Internet Explorer polyfills
if (window && !window.Promise) {
if (typeof window !== 'undefined' && !window.Promise) {
require('core-js/features/promise');
}
require('core-js/es/object/values');
Expand Down

0 comments on commit 74ccc88

Please sign in to comment.