1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-28 22:55:39 -04:00

dashboard.js: add defer to the script tag in installation guide on page

This matches the instructions with the documentation

[amended by @adtac]: Special thanks to @jeffreywyman for their work!
This commit is contained in:
Frieder Griesshammer
2019-04-07 11:44:59 +02:00
committed by Adhityaa Chandrasekar
parent 7f323b5abe
commit 07cfcc9c17

View File

@ -6,8 +6,8 @@
// Opens the installation view.
global.installationOpen = function() {
var html = "" +
"<script defer src=\"" + global.cdn + "/js/commento.js\"><\/script>\n" +
"<div id=\"commento\"></div>\n" +
"<script src=\"" + global.cdn + "/js/commento.js\"><\/script>\n" +
"";
$("#code-div").text(html);