diff --git a/static/js/checks.js b/static/js/checks.js index b1c0fc02..79ec8b6d 100644 --- a/static/js/checks.js +++ b/static/js/checks.js @@ -211,7 +211,9 @@ $(function () { } function applyFilters(index, element) { - var tags = $(".my-checks-name", element).data("tags").split(" "); + // use attr(), as data() tries converting strings to JS types: + // (e.g., "123" -> 123) + var tags = $(".my-checks-name", element).attr("data-tags").split(" "); for (var i=0, tag; tag=checked[i]; i++) { if (tags.indexOf(tag) == -1) { $(element).hide();