Fix chrome incompatibility
This commit is contained in:
parent
293f943a9a
commit
79d636ea89
|
@ -864,8 +864,8 @@ function handleModPermissions() {
|
||||||
$("#cs-allow_voteskip").prop("checked", CHANNEL.opts.allow_voteskip);
|
$("#cs-allow_voteskip").prop("checked", CHANNEL.opts.allow_voteskip);
|
||||||
$("#cs-voteskip_ratio").val(CHANNEL.opts.voteskip_ratio);
|
$("#cs-voteskip_ratio").val(CHANNEL.opts.voteskip_ratio);
|
||||||
$("#cs-allow_dupes").val(CHANNEL.opts.allow_dupes);
|
$("#cs-allow_dupes").val(CHANNEL.opts.allow_dupes);
|
||||||
$("#cs-torbanned").val(CHANNEL.opts.torbanned);
|
$("#cs-torbanned").prop("checked", CHANNEL.opts.torbanned);
|
||||||
$("#cs-allow_ascii_control").val(CHANNEL.opts.allow_ascii_control);
|
$("#cs-allow_ascii_control").prop("checked", CHANNEL.opts.allow_ascii_control);
|
||||||
(function() {
|
(function() {
|
||||||
if(typeof CHANNEL.opts.maxlength != "number") {
|
if(typeof CHANNEL.opts.maxlength != "number") {
|
||||||
$("#cs-maxlength").val("");
|
$("#cs-maxlength").val("");
|
||||||
|
|
Loading…
Reference in a new issue