Mercurial > prosody-modules
view mod_conversejs/template.js @ 3653:d31fa28d9482
mod_map: Update example in README to reflect recent changes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Aug 2019 01:40:26 +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); }