MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 772: Line 772:
         if (shouldShowDownload) {
         if (shouldShowDownload) {
             els[i].classList.remove('d-none');
             els[i].classList.remove('d-none');
        } else {
            els[i].classList.add('d-none');
         }
         }
     }
     }
Line 784: Line 786:
document.addEventListener("DOMContentLoaded", function() {
document.addEventListener("DOMContentLoaded", function() {
// Show iOS App download link
// Show iOS App download link
showIOSAppDownloadLink();
window.setTimeout(showIOSAppDownloadLink(),1000);
});
});