Better XSS prevention (NOTE: must run npm install validator on existing installs)
This commit is contained in:
parent
46b823c60d
commit
91a2fcb61d
6 changed files with 12 additions and 7 deletions
|
|
@ -106,8 +106,9 @@ Callbacks = {
|
|||
|
||||
setMotd: function(data) {
|
||||
CHANNEL.motd = data.html;
|
||||
CHANNEL.motd_text = data.motd;
|
||||
$("#motd").html(data.html);
|
||||
$("#motdtext").val(CHANNEL.motd);
|
||||
$("#motdtext").val(CHANNEL.motd_text);
|
||||
if(data.motd != "")
|
||||
$("#motd").show();
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue