소스 검색

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 %}