diff --git a/setup/scripts.js b/setup/scripts.js index c8afe52cf0..754f879e8d 100644 --- a/setup/scripts.js +++ b/setup/scripts.js @@ -186,16 +186,16 @@ function ajaxValidate(parent, id, values) // $(function () { - $('.userprefs-allow').click(function (e) { - if (this != e.target) { - return; - } - var el = $(this).find('input'); - if (el.prop('disabled')) { - return; - } - el.prop('checked', !el.prop('checked')); - }); + $('.userprefs-allow').click(function (e) { + if (this != e.target) { + return; + } + var el = $(this).find('input'); + if (el.prop('disabled')) { + return; + } + el.prop('checked', !el.prop('checked')); + }); }); //