Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit ca686bf

Browse files
author
Daniel Brain
committed
Temporary fix for transform-es2015-typeof-symbol IE issue with window
1 parent 0755fae commit ca686bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function request(options) {
4848
options.window = options.window.contentWindow;
4949
}
5050

51-
if (typeof options.window !== 'object' || options.window === null) {
51+
if (options.window === null) {
5252
throw new Error('Expected options.window to be a window object, iframe, or iframe element id.');
5353
}
5454

0 commit comments

Comments
 (0)