Do not load chat button JS when there is no chat

This commit is contained in:
Alexandre Iooss 2020-10-04 17:51:44 +02:00
parent 86d436d33d
commit 10312667d8
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
{{end}}
</div>
<script src="/static/js/sideWidget.js"></script>
{{if .WidgetURL}}<script src="/static/js/sideWidget.js"></script>{{end}}
<script src="/static/js/viewer.js"></script>
<script src="/static/js/viewersCounter.js"></script>
<script>