0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-11-05 23:23:22 +01:00

Make sure draw link doesn't start browser from homescreen

This commit is contained in:
peteruithoven 2014-05-13 14:46:35 +02:00
parent da1a1cae22
commit c64e1b9041

View File

@ -36,6 +36,10 @@
_drawItem = _list.find("#drawItem");
_updateItem = _list.find("#updateItem");
_joinNetworkItem = _list.find("#joinNetworkItem");
// make sure draw link is opened in same WebApp (added to homescreen)
// and it doesn't start a browser
$.stayInWebApp("#box #drawItem a",true);
});
$.mobile.document.on( "pagebeforeshow", PAGE_ID, function( event, data ) {
console.log("Box page pagebeforeshow");