Software /
code /
prosody-modules
Changeset
3039:df77580be2f0
mod_conversejs: Appologise for the JavaScript
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 07 Apr 2018 14:34:02 +0200 |
parents | 3038:48cbf6a3f112 |
children | 3040:81b75086a781 |
files | mod_conversejs/mod_conversejs.lua |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Sat Apr 07 14:32:50 2018 +0200 +++ b/mod_conversejs/mod_conversejs.lua Sat Apr 07 14:34:02 2018 +0200 @@ -17,7 +17,13 @@ <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/%s.min.css"> <script charset="utf-8" src="https://cdn.conversejs.org/dist/converse.min.js"></script> </head> -<body><script>converse.initialize(%s);</script></body> +<body> +<noscript> +<h1>Converse.js</h1> +<p>I'm sorry, but this XMPP client application won't work without JavaScript.</p> +</noscript> +<script>converse.initialize(%s);</script> +</body> </html> ]]