5,798
edits
No edit summary |
No edit summary |
||
Line 768: | Line 768: | ||
function showIOSAppDownloadLink() { | function showIOSAppDownloadLink() { | ||
var shouldShowDownload = /iPhone|iPad|iPod/i.test(window.navigator.userAgent) && window.navigator.userAgent.indexOf('gonative melvorwiki') === -1; | var shouldShowDownload = /iPhone|iPad|iPod/i.test(window.navigator.userAgent) && window.navigator.userAgent.indexOf('gonative melvorwiki') === -1; | ||
if (shouldShowDownload) { | |||
$('.ios-app-download').removeClass('d-none'); | |||
} else { | |||
$('.ios-app-download').addClass('d-none'); | |||
} | } | ||
} | } |