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