Merged pull request #1 from dansilivestru/master.

Geo location error handler
This commit is contained in:
Andrew Lunny
2011-04-26 10:07:36 -07:00
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.idea

BIN
assets/img/gpsfailed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -43,6 +43,8 @@ run(function () {
path += location + "&sensor=false";
x$('img#static_map').attr('src', path);
}, function () {
x$('img#static_map').attr('src', "assets/img/gpsfailed.png");
});
});
});