Add 'hidechat=true' URL parameter to hide all chat input/output
This commit is contained in:
parent
7a3235193d
commit
d31db2ebc5
3 changed files with 12 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
||||
var me = this;
|
||||
|
||||
if(dynmap.getBoolParameterByName("hidechat"))
|
||||
return;
|
||||
|
||||
me.chatpopups = {};
|
||||
$(dynmap).bind('playerupdated', function(event, player) {
|
||||
var popup = me.chatpopups[player.name];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue