Sorry I didn't have time to test further details on other browsers at this time, but the code failed to work with the new jquery (1.5 and 1.5.1) on firefox. The problem was with empty arrays (the first selection) and usage of the size() function in 3 places. When changed to .length instead it works - this is the pull request.
Sorry I didn't have time to test further details on other browsers at this time, but the code failed to work with the new jquery (1.5 and 1.5.1) on firefox. The problem was with empty arrays (the first selection) and usage of the size() function in 3 places. When changed to .length instead it works - this is the pull request.