Merge pull request #4836 from ahocevar/ua-lowercase
Use lowercase for all user agent checks
This commit is contained in:
@@ -24,7 +24,7 @@ ol.has.SAFARI = ua.indexOf('safari') !== -1 && ua.indexOf('chrom') === -1;
|
|||||||
* User agent string says we are dealing with a Mac as platform.
|
* User agent string says we are dealing with a Mac as platform.
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
ol.has.MAC = ua.indexOf('Macintosh') !== -1;
|
ol.has.MAC = ua.indexOf('macintosh') !== -1;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user