This commit is contained in:
Aevann1 2021-12-15 00:48:37 +02:00
parent 132ba8c5f4
commit ab660900c5
2030 changed files with 28940 additions and 5711 deletions

View file

@ -0,0 +1,12 @@
if (!("standalone" in window.navigator) && window.navigator.standalone) {
if (window.innerWidth <= 737) {
document.getElementById('mobile-prompt').show()
document.getElementsByClassName('tooltip')[0].onclick = function(event){
document.getElementById('mobile-prompt').hide()
var xhr = new XMLHttpRequest();
xhr.withCredentials=true;
xhr.open("POST", '/dismiss_mobile_tip', true);
xhr.send();
}
}
}