Script tag not allowed out side body / head
This commit is contained in:
@@ -240,9 +240,7 @@
|
||||
modal.find('.modal-title').text(title);
|
||||
modal.find('.modal-body').html(content);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
<script>
|
||||
|
||||
var packageUrl = 'https://raw.githubusercontent.com/openlayers/openlayers.github.io/build/package.json';
|
||||
fetch(packageUrl).then(function(response) {
|
||||
return response.json();
|
||||
@@ -274,7 +272,7 @@
|
||||
experimentalNotice.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user