forked from rDrama/rDrama
fds
parent
9b2e388a04
commit
84db70d984
|
@ -217,12 +217,12 @@
|
|||
if (!("standalone" in window.navigator && window.navigator.standalone)){
|
||||
if (window.innerWidth <= 737){
|
||||
try {
|
||||
document.getElementById('mobile-prompt').trigger()
|
||||
document.getElementById('mobile-prompt').show()
|
||||
|
||||
document.getElementsByClassName('tooltip')[0].addEventListener(
|
||||
'click',
|
||||
function(event){
|
||||
document.getElementById('mobile-prompt').trigger()
|
||||
document.getElementById('mobile-prompt').hide()
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.withCredentials=true;
|
||||
xhr.open("POST", '/dismiss_mobile_tip', true);
|
||||
|
|
Loading…
Reference in New Issue