mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
handle Firefox on iPad on iOS 13
This commit is contained in:
@@ -43,13 +43,16 @@ export default [
|
||||
|
||||
/* Firefox on iPad */
|
||||
{
|
||||
test: [/Macintosh(.*?) FxiOS(.*?) Version\//],
|
||||
test: [/Macintosh(.*?) FxiOS(.*?)\//],
|
||||
describe(ua) {
|
||||
const version = Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/, ua);
|
||||
return {
|
||||
const result = {
|
||||
name: OS_MAP.iOS,
|
||||
version,
|
||||
};
|
||||
const version = Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/, ua);
|
||||
if (version) {
|
||||
result.version = version;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export default [
|
||||
|
||||
/* Firefox on iPad */
|
||||
{
|
||||
test: [/Macintosh(.*?) FxiOS(.*?) Version\//],
|
||||
test: [/Macintosh(.*?) FxiOS(.*?)\//],
|
||||
describe() {
|
||||
return {
|
||||
type: PLATFORMS_MAP.tablet,
|
||||
|
||||
Reference in New Issue
Block a user