diff options
Diffstat (limited to 'themes/okadmin/public/js/app.js')
| -rw-r--r-- | themes/okadmin/public/js/app.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/okadmin/public/js/app.js b/themes/okadmin/public/js/app.js index 1a7c8e7..db900fc 100644 --- a/themes/okadmin/public/js/app.js +++ b/themes/okadmin/public/js/app.js @@ -236,11 +236,11 @@ var OKAdmin = function(){ // Modify flags checkboxes such that unchecked ones return "false" // instead of nothing $('.property input[type=checkbox]').each(function(i, el) { - var checked = !!el.checked - if (!checked) { - el.value = 'false' - el.setAttribute('checked', true) + var checked = !! el.checked + if (! checked) { + el.setAttribute('value', 'false') } + el.checked = true }) $(".link-list").each(function(){ |
