support non firefox gecko browsers
This commit is contained in:
parent
93dad34514
commit
ee3384d7b5
1 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,8 @@ $(function() {
|
|||
userAgent = name;
|
||||
return false;
|
||||
}
|
||||
if (!userAgent && navigator.userAgent.indexOf('Gecko') > -1)
|
||||
userAgent = 'Firefox';
|
||||
});
|
||||
return userAgent;
|
||||
}
|
||||
|
@ -151,4 +153,4 @@ $(function() {
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue