Skip to content

Commit bf81f17

Browse files
authored
Merge pull request #230 from devgateway/fix/OCE-159/ie-download-workaround
OCVN-361 Fixed IE detection condition
2 parents 1344233 + a229fdf commit bf81f17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/oce/tools.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export let download = ({ep, filters, years, t}) => {
6464
let {userAgent} = navigator;
6565
let isSafari = -1 < userAgent.indexOf("Safari") && -1 == userAgent.indexOf("Chrom");//excludes both Chrome and Chromium
6666
const isIE = navigator.appName == 'Microsoft Internet Explorer' || !!(navigator.userAgent.match(/Trident/)
67-
|| navigator.userAgent.match(/rv 11/)) || $.browser.msie == 1;
67+
|| navigator.userAgent.match(/rv 11/));
6868
if (isSafari || isIE) {
6969
location.href = url;
7070
return response;

0 commit comments

Comments
 (0)