Skip to content

Commit f6b64f4

Browse files
committed
fixing javascript error
1 parent 2ce0804 commit f6b64f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/includes/script.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
cooperativeGestures: {{ $cooperativeGestures ? 'true' : 'false' }},
1919
});
2020
21-
{{ $navigationControls ? 'map.addControl(new mapboxgl.NavigationControl());' : '' }}
21+
{{ $navigationControls ? 'map' . $id . '.addControl(new mapboxgl.NavigationControl());' : '' }}
2222
2323
map{{ $id }}.on('load', function() {
2424
map{{ $id }}.resize();

0 commit comments

Comments
 (0)