Skip to content

Commit

Permalink
Review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneycb committed Nov 5, 2019
1 parent 1839e81 commit 51975ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csfieldguide/static/interactives/data-bias/js/data-bias.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ function createCircle(colour) {
$circle.css('z-index', 1);
}
$('#circles-area').append($circle);
$('.circle').click(function() {
// add glow around clicked circle
$(this).toggleClass('glow');
$circle.click(function() {
// toggle glow around clicked circle
$circle.toggleClass('glow');
});
}

Expand Down

0 comments on commit 51975ee

Please sign in to comment.