Navigation Menu

Skip to content

Commit

Permalink
Merged pull request phonegap#1 from dansilivestru/master.
Browse files Browse the repository at this point in the history
Geo location error handler
  • Loading branch information
Andrew Lunny committed Apr 26, 2011
2 parents 5364c59 + 1f71799 commit 165a4a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.idea
Binary file added assets/img/gpsfailed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/js/app.js
Expand Up @@ -43,6 +43,8 @@ run(function () {
path += location + "&sensor=false"; path += location + "&sensor=false";


x$('img#static_map').attr('src', path); x$('img#static_map').attr('src', path);
}, function () {
x$('img#static_map').attr('src', "assets/img/gpsfailed.png");
}); });
}); });
}); });
Expand Down

0 comments on commit 165a4a9

Please sign in to comment.