comparison mod_conversejs/templates/template.js @ 4165:6b2a1c9ef6e2

mod_conversejs: Move templates into a directory for easier install
author Kim Alvefur <zash@zash.se>
date Thu, 01 Oct 2020 17:49:10 +0200
parents mod_conversejs/template.js@1921ae4449b8
children 13b065432bf2
comparison
equal deleted inserted replaced
4164:a82b0745383b 4165:6b2a1c9ef6e2
1 if(typeof converse == 'undefined') {
2 var div = document.createElement("div");
3 var noscript = document.getElementsByTagName("noscript")[0];
4 div.innerHTML = noscript.innerText;
5 document.body.appendChild(div);
6 } else {
7 converse.initialize(%s);
8 }