Mercurial > prosody-modules
view mod_conversejs/templates/template.js @ 4209:37aa50ed79c1
mod_conversejs: Add comments about default settings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 15 Oct 2020 20:12:04 +0200 |
parents | 6b2a1c9ef6e2 |
children | 13b065432bf2 |
line wrap: on
line source
if(typeof converse == 'undefined') { var div = document.createElement("div"); var noscript = document.getElementsByTagName("noscript")[0]; div.innerHTML = noscript.innerText; document.body.appendChild(div); } else { converse.initialize(%s); }