Skip to content

Instantly share code, notes, and snippets.

@mileszs
Created November 16, 2009 21:15
Show Gist options
  • Select an option

  • Save mileszs/236317 to your computer and use it in GitHub Desktop.

Select an option

Save mileszs/236317 to your computer and use it in GitHub Desktop.
var People = {
setupIndex: function() {
$$('a.labels').each( function(link) {
link.onclick = function(ev) {
ev.stop();
$$('tr.mistasks').each( function(row) {
if (!(row.classNames.include(link.id))) {
row.hide();
}
});
}
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment