aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/main.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index 3cc607977..5b9dae461 100644
--- a/include/main.js
+++ b/include/main.js
@@ -287,6 +287,17 @@
});
}
+function checkboxhighlight(box) {
+ if($(box).is(':checked')) {
+ $(box).addClass('checkeditem');
+ }
+ else {
+ $(box).removeClass('checkeditem');
+ }
+}
+
+
+
/**
* sprintf in javascript
* "{0} and {1}".format('zero','uno');