5,798
edits
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 849: | Line 849: | ||
const shouldShowDownload = window.navigator.userAgent.match(/iPhone|iPad|iPod/i) && !window.navigator.userAgent.includes('gonative melvorwiki'); | const shouldShowDownload = window.navigator.userAgent.match(/iPhone|iPad|iPod/i) && !window.navigator.userAgent.includes('gonative melvorwiki'); | ||
const els = document.getElementsByClassName('ios-app-download'); | const els = document.getElementsByClassName('ios-app-download'); | ||
for (let i = 0; i < els.length; i++) { | for (let i = 0; i < els.length; i++) { | ||
if (shouldShowDownload) { | if (shouldShowDownload) { |