forked from rDrama/rDrama
sfd
parent
7dfde0b258
commit
5c5d262fda
|
@ -854,13 +854,7 @@
|
|||
}
|
||||
|
||||
//mobile prompt
|
||||
if (("standalone" in window.navigator) && // Check if "standalone" property exists
|
||||
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 (!("standalone" in window.navigator && window.navigator.standalone)){
|
||||
if (window.innerWidth <= 737){
|
||||
try {
|
||||
$('#mobile-prompt').tooltip('show')
|
||||
|
@ -880,7 +874,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Voting
|
||||
// Voting
|
||||
|
||||
function post_vote(url, callback) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
|
|
Loading…
Reference in New Issue