Преглед на файлове

Fix loading of converse.js in the docs

JC Brand преди 8 години
родител
ревизия
58f62998f9
променени са 1 файла, в които са добавени 2 реда и са изтрити 8 реда
  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 %}