mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 11:08:28 +00:00
Make sure that accounts and tags both can handle locations.
This commit is contained in:
2
public/v1/js/ff/tags/create-edit.js
vendored
2
public/v1/js/ff/tags/create-edit.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* create-edit.js
|
||||
* Copyright (c) 2019 thegrumpydictator@gmail.com
|
||||
*
|
||||
|
8
public/v1/js/ff/tags/show.js
vendored
8
public/v1/js/ff/tags/show.js
vendored
@@ -31,7 +31,7 @@ $(function () {
|
||||
*/
|
||||
|
||||
// make map:
|
||||
var mymap = L.map('tag_location_map', {
|
||||
var mymap = L.map('location_map', {
|
||||
zoomControl: false,
|
||||
touchZoom: false,
|
||||
doubleClickZoom: false,
|
||||
@@ -46,9 +46,7 @@ $(function () {
|
||||
id: 'mapbox.streets',
|
||||
accessToken: mapboxToken
|
||||
}).addTo(mymap);
|
||||
|
||||
if (doPlaceMarker) {
|
||||
L.marker([latitude, longitude]).addTo(mymap);
|
||||
}
|
||||
L.marker([latitude, longitude]).addTo(mymap);
|
||||
}
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user