javiertoledo/bootstrap-rating-input — pull request #11 by Phoennix (2014-01-10 13:34:04+00:00)
Title: Allow the stars to return to their initial state on mouseleave when initial value lies outside the specified range

Hi Javier and thank you for this nice script.

As I used it in my project, i had a problem while using this plugin, as you can see on this fiddle :
http://jsfiddle.net/Phoennix/6Sybq/4/

I wanted an optional 5 stars rating system, so the initial value of my input is 0, and the user then can select a value from 1 to 5.
But when the initial value lies outside of the specified range and the user hover over the stars without selecting any of them, then the stars don't return to their initial state on 'mouseleave'.

Hope this contribution can be useful.