support non firefox gecko browsers
This commit is contained in:
parent
0e3954581b
commit
5bd21769ed
|
@ -44,6 +44,8 @@ $(function() {
|
||||||
userAgent = name;
|
userAgent = name;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!userAgent && navigator.userAgent.indexOf('Gecko') > -1)
|
||||||
|
userAgent = 'Firefox';
|
||||||
});
|
});
|
||||||
return userAgent;
|
return userAgent;
|
||||||
}
|
}
|
||||||
|
@ -151,4 +153,4 @@ $(function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user