Skip to content

Commit

Permalink
Remove annoying alert for iOS devices when not running in standalone …
Browse files Browse the repository at this point in the history
…mode
  • Loading branch information
Anthony F committed Jun 25, 2011
1 parent 6126da7 commit 6693c9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui.js
Expand Up @@ -58,9 +58,7 @@ app.ui=(function(){
var allowdrag=true;//Set using block: and unblock: in the postMessage API.
var webkit=/[Ww]eb[kK]it/.test(navigator.userAgent);
if(/(iPhone)/i.test(navigator.userAgent)){
if(!navigator.standalone){
alert(messages.standalone);
}

}
var draw;
var ctx;
Expand Down

0 comments on commit 6693c9c

Please sign in to comment.