darrentaytay / jquery-character-counter

A simple, Twitter style character counter for HTML input fields.
51 stars 31 forks source link

jQuery .bind changed to .on #9

Closed wardtwits closed 9 years ago

wardtwits commented 9 years ago

Line 54 - minor efficiency update, faster to declare all vars outside of your loops.

bindEvents() - Updated from .bind to .on - it appears your supporting jQuery 1.7.2 and up, so this should be fine since its supported 1.7+

darrentaytay commented 9 years ago

Thank you very much @wardtwits!