Skip to content

Commit

Permalink
Bugfix activity lat/lon fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
lomky committed Dec 12, 2018
1 parent da77075 commit 1bb518e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Tuba/files/templates/h/leaflet.html.ep
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
% my $lat_min = stash 'lat_min';
% $lat_min = $object->lat_min unless defined $lat_min;
% my $lat_max = stash 'lat_max';
% $lat_max = $object->lat_max unless defined $lat_min;
% $lat_max = $object->lat_max unless defined $lat_max;
% my $lon_min = stash 'lon_min';
% $lon_min = $object->lon_min unless defined $lat_min;
% $lon_min = $object->lon_min unless defined $lon_min;
% my $lon_max = stash 'lon_max';
% $lon_max = $object->lon_max unless defined $lat_min;
% $lon_max = $object->lon_max unless defined $lon_max;
% if (my $asset_token = config('mapbox_access_token')) {
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
Expand Down

0 comments on commit 1bb518e

Please sign in to comment.