mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Hygiene: fix DownloadIcon function typing
Change-Id: I421332acae4ace9d0bb7cfcd4b31d9f4581c3e34
This commit is contained in:
parent
d2b1771f13
commit
10024b641e
|
@ -9,7 +9,7 @@
|
|||
* Helper function to retreive the Android version
|
||||
* @ignore
|
||||
* @param {string} userAgent User Agent
|
||||
* @return {number} An integer.
|
||||
* @return {number|false} An integer.
|
||||
*/
|
||||
function getAndroidVersion( userAgent ) {
|
||||
var match = userAgent.toLowerCase().match( /android\s(\d\.]*)/ );
|
||||
|
@ -20,7 +20,7 @@
|
|||
* Helper function to retrieve the Chrome/Chromium version
|
||||
* @ignore
|
||||
* @param {string} userAgent User Agent
|
||||
* @return {number} An integer.
|
||||
* @return {number|false} An integer.
|
||||
*/
|
||||
function getChromeVersion( userAgent ) {
|
||||
var match = userAgent.toLowerCase().match( /chrom(e|ium)\/(\d+)\./ );
|
||||
|
|
Loading…
Reference in a new issue