For a gaming community we are using discord, together with costumeboxes we are adding it to the sidebar.
The problem is the "change style" button doesnt want to open when using the widget. We think it has something to do how it loads the javascript.
Can someone with more knowledge about how Javascript works with Burning board please have a look.
I can not see anything wrong with the current script.
Code on Github https://github.com/RestingCoder/discord-widget
Code
<script type="text/javascript" src="http://discord.knightsoftheblade.com/discord.min.js"></script>
<script type="text/javascript">
discordWidget.init({
serverId: '91087052312940544',
title: 'Discord Widget Title',
join: true,
alphabetical: false,
theme: 'none',
hideChannels: ['AFK'],
showAllUsers: true,
allUsersDefaultState: false
});
discordWidget.render();
</script>
<div class="discord-widget"></div>
Display More
To be more precise
the "div.dialogContainer" from change style does not want to load whit this script running on the page.