summaryrefslogtreecommitdiff
path: root/themes/okadmin/public/js/app.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-09-29 18:07:55 -0400
committerJules Laplace <jules@okfoc.us>2016-09-29 18:07:55 -0400
commita8548c44ac08ce2aa41102494d4c0a9ba81a4023 (patch)
tree80a673fb7222c0aaa06efd1b459e5248cb35a1f0 /themes/okadmin/public/js/app.js
parentc05578b9d5cc0b69cc2a2e31cc0e36a40b09f683 (diff)
additional edits
Diffstat (limited to 'themes/okadmin/public/js/app.js')
-rw-r--r--themes/okadmin/public/js/app.js8
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(){