forked from rDrama/rDrama
sfd
parent
7dfde0b258
commit
5c5d262fda
|
@ -854,13 +854,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//mobile prompt
|
//mobile prompt
|
||||||
if (("standalone" in window.navigator) && // Check if "standalone" property exists
|
if (!("standalone" in window.navigator && window.navigator.standalone)){
|
||||||
window.navigator.standalone){ // Test if using standalone navigator
|
|
||||||
|
|
||||||
// Web page is loaded via app mode (full-screen mode)
|
|
||||||
// (window.navigator.standalone is TRUE if user accesses website via App Mode)
|
|
||||||
|
|
||||||
} else {
|
|
||||||
if (window.innerWidth <= 737){
|
if (window.innerWidth <= 737){
|
||||||
try {
|
try {
|
||||||
$('#mobile-prompt').tooltip('show')
|
$('#mobile-prompt').tooltip('show')
|
||||||
|
@ -880,7 +874,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Voting
|
// Voting
|
||||||
|
|
||||||
function post_vote(url, callback) {
|
function post_vote(url, callback) {
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
Loading…
Reference in New Issue