Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
filter selector down even further
Browse files Browse the repository at this point in the history
  • Loading branch information
tswicegood committed Jun 14, 2011
1 parent 8efd2f5 commit 1bfd042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.html
Expand Up @@ -198,7 +198,7 @@ <h1>Interactive: Visualizing the 82nd Legislative Session</h1>
$('.legend a').click(function(e) {
e.preventDefault();
var color = $(this).attr("class");
$('.content div').each(function() {
$('.flatpages .container .content div').each(function() {
var e = $("img", this),
div = $(this);
if (color === "all" || (div.hasClass(color) || div.hasClass("header"))) {
Expand Down

0 comments on commit 1bfd042

Please sign in to comment.