Mercurial > prosody-modules
view mod_conversejs/template.js @ 4104:476afcbfb3e9
various: Add some dependency metadata
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 11 Sep 2020 17:13:34 +0200 |
parents | 1921ae4449b8 |
children |
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); }