0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 18:13:48 +01:00

Enabling skipFirstVisit of Add to homescreen

This commit is contained in:
peteruithoven 2015-07-06 14:31:09 +02:00
parent e023a2f1f0
commit 3835606df1

View File

@ -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");