Skip to content

Instantly share code, notes, and snippets.

@hui
Last active December 12, 2015 07:28
Show Gist options
  • Select an option

  • Save hui/4736772 to your computer and use it in GitHub Desktop.

Select an option

Save hui/4736772 to your computer and use it in GitHub Desktop.
// Instructions:
// (1) Browse to your favorite Trello board
// (2) Drop this into your friendly Chrome inspector or Firefox Firebug console
$('.list').each(function(index) {
var outer = $(this);
$(this).find('h2.current').each(function(index) {
$(this).text($(this).text() + " (" + outer.find('.list-card').length + ")");
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment