summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-locations.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates/page-locations.html')
-rw-r--r--modules-available/locationinfo/templates/page-locations.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index 553df648..fa2e3a2d 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -65,8 +65,7 @@
</div>
</div>
-<script type="text/javascript"><!--
-
+<script>
document.addEventListener("DOMContentLoaded", function () {
/**
* Load a opening time modal of a location.
@@ -79,5 +78,4 @@ document.addEventListener("DOMContentLoaded", function () {
$('#location-modal').modal('show').find('.modal-body').text('...').load("?do=locationinfo&action=config-location&id=" + locationId);
});
});
-
-//--></script>
+</script>