aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-17 22:58:15 -0700
committerFriendika <info@friendika.com>2011-06-17 22:58:15 -0700
commit787f079d13070dd691af8fcdde76de2649dcbb0f (patch)
treeed0cecb41db6eb81fd7511d3d701dc2b7f0ba2c0 /include
parent484b248f735b22e7a28f4720c3997746f5c10ced (diff)
downloadvolse-hubzilla-787f079d13070dd691af8fcdde76de2649dcbb0f.tar.gz
volse-hubzilla-787f079d13070dd691af8fcdde76de2649dcbb0f.tar.bz2
volse-hubzilla-787f079d13070dd691af8fcdde76de2649dcbb0f.zip
improved UI for checked items to be deleted
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');