Mercurial > prosody-modules
view mod_conversejs/template.js @ 3712:0a0bf87ccda6
mod_http_altconnect: Handle connection modules being global or host-local
mod_bosh may be either a global or a normal module depending on Prosody version.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 12 Oct 2019 16:22:54 +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); }
