summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-06 16:57:25 +0300
committerAlon Levy <alon@pobox.com>2015-04-06 16:57:25 +0300
commit4b56cb544a9a4fea9e2dfed5add90c5bf3e4e355 (patch)
treeafd982e1682009edfb7b2a6cc648344ba81db7ce /src
parent002e8ac29f7f75cbddbf758b2982cff1e2d0d555 (diff)
client: fix filter regression
Diffstat (limited to 'src')
-rw-r--r--src/client/view/graph_view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 3a3bb6a4..6cebd1ee 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -128,7 +128,7 @@ function GraphView(spec) {
var name,
value,
// jquery map does flattens, and we don't want that
- checkboxes = _.map($('#menu__type-filter label input'),
+ checkboxes = _.map($('#menu__type-filter input'),
function (checkbox){
return [checkbox.name, checkbox.checked];
}
@@ -146,7 +146,7 @@ function GraphView(spec) {
function redraw__set_on_checkbox_change()
{
$(function () {
- var checkboxes = $('#menu__type-filter li').on('click', function (e) {
+ var checkboxes = $('#menu__type-filter').on('click', function (e) {
e.stopPropagation();
read_checkboxes();
console.log(filter_states);