Software /
code /
prosody-modules
Comparison
mod_conversejs/template.js @ 3598:1921ae4449b8
mod_conversejs: Separate out templates into separate configurable files (breaks 0.9 compat)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 May 2019 08:45:41 +0200 |
comparison
equal
deleted
inserted
replaced
3597:da7ec4ed6ddf | 3598:1921ae4449b8 |
---|---|
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 } |