From 3835606df1b6b15576312f6ee631808a6c9d0f37 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 6 Jul 2015 14:31:09 +0200 Subject: [PATCH] Enabling skipFirstVisit of Add to homescreen --- js/BoxesPage.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/BoxesPage.js b/js/BoxesPage.js index 0644db8..9602816 100644 --- a/js/BoxesPage.js +++ b/js/BoxesPage.js @@ -33,14 +33,14 @@ }); $.mobile.document.on( "pageshow", PAGE_ID, function( event, data ) { //console.log("Boxes page pageshow"); - addToHomescreen(/*{ - debug: true, // activate debug mode in ios emulation - skipFirstVisit: false, // show at first access - startDelay: 0, // display the message right away - lifespan: 0, // do not automatically kill the call out - displayPace: 0, // do not obey the display pace - maxDisplayCount: 0 // do not obey the max display count - }*/); + addToHomescreen({ + //debug: true, // show on desktop browsers and unsupported devices + skipFirstVisit: true, // Don't show on first visit + //startDelay: 0, // display the message right away + //lifespan: 0, // do not automatically kill the call out + //displayPace: 0, // do not obey the display pace + //maxDisplayCount: 0 // do not obey the max display count + }); }); $.mobile.document.on( "pagebeforehide", PAGE_ID, function( event, data ) { //console.log("Boxes page pagehide");