daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function globalListCount(notification)
  2. {
  3.   var card = new Notification(notification).addedCard(/.+ \([0-9]+\)/);
  4.  
  5.   if(parts = /(.+) \([0-9]+\)/.exec(card.currentList().name()))
  6.     card.currentList().setName(parts[1]+" ("+card.currentList().countCards()+")");
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top