Created
December 1, 2018 03:14
-
-
Save iaindooley/5b4b552cd0271748b4ef4a3e810f610d to your computer and use it in GitHub Desktop.
Snap cards into position
This file contains hidden or 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
| function snapBack(notification) | |
| { | |
| var notif = new Notification(notification); | |
| if(notif.member().notTrellinator()) | |
| { | |
| notif.movedCard().label("Snap"); | |
| notif.movedCard().moveToList(notif.listBefore(),"top"); | |
| } | |
| } | |
| function dontArchive(notification) | |
| { | |
| var notif = new Notification(notification); | |
| if(notif.member().notTrellinator()) | |
| { | |
| notif.archivedCard().label("Snap"); | |
| notif.archivedCard().unArchive(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment