Skip to content

Commit d293d17

Browse files
author
Ives van Hoorne
committed
Fix opera check
1 parent 38ff9b4 commit d293d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/load-dynamic-polyfills.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function detectIE() {
1919
}
2020

2121
function detectOpera() {
22-
return navigator.userAgent.indexOf('Opera');
22+
return navigator.userAgent.indexOf('Opera') > -1;
2323
}
2424

2525
export default function requirePolyfills() {

0 commit comments

Comments
 (0)