diff --git a/app/helpers/gtt_map_helper.rb b/app/helpers/gtt_map_helper.rb index 5e6525d..cb6e3b2 100644 --- a/app/helpers/gtt_map_helper.rb +++ b/app/helpers/gtt_map_helper.rb @@ -65,11 +65,6 @@ def map_tag(map: nil, layers: map&.layers, observer.observe(document.body, config); } if (!#{show}) { - document.addEventListener('contentUpdated', function(){ - var target = document.getElementById('#{uid}'); - window.createGttClient(target); - contentObserver(); - }, { once: true }); var target = document.getElementById('#{uid}'); if ( document.readyState === 'complete'