i've found that if you set the option "max" to, for example, 1 the script prevents you from selecting more than one only if you click in the user's name but not if you click the checkbox (i was able to select and get 3 friend's IDs besides restricting to max 1).
The temporary solution i've found was to add this line on the "click" function (under the "else" clause):
i've found that if you set the option "max" to, for example, 1 the script prevents you from selecting more than one only if you click in the user's name but not if you click the checkbox (i was able to select and get 3 friend's IDs besides restricting to max 1).
The temporary solution i've found was to add this line on the "click" function (under the "else" clause):
Hope this helps to correctly fix it.