Skip to content

Instantly share code, notes, and snippets.

@iaindooley

iaindooley/lock_card

Created Jan 14, 2019
Embed
What would you like to do?
Lock card
function lockCardInPlace(notification)
{
var notif = new Notification(notification);
if(notif.member().notTrellinator())
{
var card = notif.movedCard();
if(!card.allChecklistsComplete())
card.moveToList(notif.listBefore());
}
}
function moveCompletedCard(notification)
{
new Notification(notification).completedAllChecklists().card().moveToNextList();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.