Diff

mod_conversejs/mod_conversejs.lua @ 3039:df77580be2f0

mod_conversejs: Appologise for the JavaScript
author Kim Alvefur <zash@zash.se>
date Sat, 07 Apr 2018 14:34:02 +0200
parent 3038:48cbf6a3f112
child 3040:81b75086a781
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&apos;m sorry, but this XMPP client application won&apos;t work without JavaScript.</p>
+</noscript>
+<script>converse.initialize(%s);</script>
+</body>
 </html>
 ]]