Commit 7066e70b authored by JC Brand's avatar JC Brand

Initialize converse inside main.js

parent 58241cbb
......@@ -131,16 +131,6 @@
</div>
</div>
<script type="text/javascript">
$(document).ready(function {
converse.initialize({
prebind: false,
xhr_user_search: false,
auto_subscribe: false
});
});
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
......
require(["jquery", "converse"], function($) {});
require(["jquery", "converse"], function($, converse) {
converse.initialize({
prebind: false,
xhr_user_search: false,
auto_subscribe: false
});
});
......@@ -21,7 +21,6 @@
</header>
</div>
<div id="chatpanel">
<div id="collective-xmpp-chat-data"></div>
<div id="toggle-controlbox">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment