We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9979c5c commit 08dbdcdCopy full SHA for 08dbdcd
app/helpers/gtt_map_helper.rb
@@ -34,7 +34,7 @@ def map_tag(map: nil, layers: map&.layers,
34
content_tag(:div, "", data: data, id: uid, class: 'ol-map'),
35
javascript_tag("
36
$(document).ready(function(){
37
- $('div.ol-map').each(function(idx) {
+ $('##{uid}').each(function(idx) {
38
App.init({
39
target: this
40
});
0 commit comments