mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-26 02:23:48 +01:00
Make sure draw link doesn't start browser from homescreen
This commit is contained in:
parent
da1a1cae22
commit
c64e1b9041
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user