[VIEWER-IFC] Add footer guard

This commit is contained in:
Milovann Yanatchkov 2024-12-26 14:47:15 +01:00
parent 0c35d1e5e3
commit 115f7fc0d3

View file

@ -14,8 +14,10 @@
{{template "base/footer_content" .}}
<script src="{{AssetUrlPrefix}}/js/index.js?v={{AssetVersion}}" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script>
<script src="{{AssetUrlPrefix}}/js/viewerifc.js" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script>
{{if .IsIFC}}
<script src="{{AssetUrlPrefix}}/js/viewerifc.js" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script>
{{end}}
{{template "custom/footer" .}}
</body>
</html>