Explorar o código

Fix loading of converse.js in the docs

JC Brand %!s(int64=8) %!d(string=hai) anos
pai
achega
58f62998f9
Modificáronse 1 ficheiros con 2 adicións e 8 borrados
  1. 2 8
      docs/source/_templates/layout.html

+ 2 - 8
docs/source/_templates/layout.html

@@ -9,14 +9,8 @@
 {% block footer %}
     {{ super() }}
     <script>
-        require(['converse'], function (converse) {
-            converse.initialize({
-                bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
-                keepalive: true,
-                play_sounds: true,
-                message_carbons: true,
-                roster_groups: true,
-            });
+        converse.initialize({
+            bosh_service_url: 'https://conversejs.org/http-bind/',
         });
     </script>
 {% endblock %}