Created
March 10, 2016 18:20
-
-
Save patrickocoffeyo/aecb38bcd3805dfb1083 to your computer and use it in GitHub Desktop.
Simple script that filters trello cards by assignee.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myInitials = 'PC'; | |
jQuery('.list-card').each(function(i, item) { | |
var $item = jQuery(item); | |
$item.find('.member').each(function(j, member) { | |
var $member = jQuery(member); | |
if ($member.text() !== myInitials) { | |
$item.remove(); | |
} | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment