Setting initial value issue

Jul 27, 2012 at 1:11 AM


I working on incorporating your plugin and noticed the following issue:

when i call 

$('#my-rating').rateit({ 'readonly': true, 'value': 3}); 

for this 

<div id="my-rating"></div>

the plugin does not set the value. I believe the issue is on line 83:

                itemdata('value', itemdata('value') || options.min);

when it's supposed to be 

                itemdata('value', itemdata('value') || options.value);



Jul 28, 2012 at 10:27 AM

Hi Alex, 

I'll have a look at it asap.


Jul 28, 2012 at 10:51 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jul 28, 2012 at 10:59 AM


Jul 30, 2012 at 5:34 PM

Thanks a lot. Very useful control and easy to use!