diff --git a/files/templates/default.html b/files/templates/default.html
index 4ca8bc2f2c..1948d17acd 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -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();