Merge branch 'master' of github.com:jeena/Bungloo
This commit is contained in:
commit
aba8fa53ae
1 changed files with 7 additions and 4 deletions
|
|
@ -324,6 +324,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
||||||
var lat = status.content.location.coordinates[0];
|
var lat = status.content.location.coordinates[0];
|
||||||
var lng = status.content.location.coordinates[1];
|
var lng = status.content.location.coordinates[1];
|
||||||
|
|
||||||
|
if (typeof lat != "undefined" && typeof lng != "undefined" && lat > 0 && lng > 0) {
|
||||||
var href = this.mapHref(lat, lng);
|
var href = this.mapHref(lat, lng);
|
||||||
template.geo.href = href;
|
template.geo.href = href;
|
||||||
template.geo.style.display = "";
|
template.geo.style.display = "";
|
||||||
|
|
@ -331,6 +332,8 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
||||||
this.addMap(lat, lng, template.images);
|
this.addMap(lat, lng, template.images);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof status.__repost != "undefined") {
|
if (typeof status.__repost != "undefined") {
|
||||||
template.source.href = status.__repost.app.url;
|
template.source.href = status.__repost.app.url;
|
||||||
template.source.innerHTML = status.__repost.app.name;
|
template.source.innerHTML = status.__repost.app.name;
|
||||||
|
|
|
||||||
Reference in a new issue