Don't identify Chrome as Safari
This commit is contained in:
parent
1ad8489c65
commit
4265d17f8e
@ -508,7 +508,8 @@ var getQueryArgs = function() {
|
||||
return intoObject(pairs.map(function(e) { return split(e, "=", 1); }));
|
||||
};
|
||||
|
||||
var isSafari = navigator.userAgent.indexOf("Safari") != -1;
|
||||
var isChrome = navigator.userAgent.indexOf("Chrome/") != -1;
|
||||
var isSafari = !isChrome && navigator.userAgent.indexOf("Safari") != -1;
|
||||
var isFirefox = navigator.userAgent.indexOf("Firefox") != -1;
|
||||
|
||||
var addAnyChangeListener = function(elem, func) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user