Skip to content

Commit 408f098

Browse files
authored
Fix Promise error in IE11
1 parent 3ba8b6d commit 408f098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/botui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454
}
5555

56-
if(!root.Promise && !Promise && !options.promise) {
56+
if(!root.Promise && typeof Promise === "undefined" && !opts.promise) {
5757
loadScript(_esPromisePollyfill);
5858
}
5959

0 commit comments

Comments
 (0)