mbrevoort / jquery-facebook-multi-friend-selector

A jQuery based Alternative Facebook Multi-Friend Selector that uses the Graph API
Other
266 stars 64 forks source link

Added public method clearSpecificFriend #31

Open botteu opened 12 years ago

botteu commented 12 years ago

Hi!

Thank you for this brilliant plugin :)

In a project I'm working on right now, the design calls for the jfmfs to be able to clear a selected friend from outside the jfmfs container. I could only find a public method for clearing all selections so I decided to make this addition to the code. Hope you don't mind :)

usage:

Call clearSpecificFriend( withID ) where withID is the Facebook user ID of the friend you want to deselect.

Cheers & keep up the good work :) /Daniel