-
-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome: Uncaught TypeError: Cannot set property 'src' of undefined #190
Comments
@wbotelhos This issue comes from this line : When the option 'half' is true and the cursor is before the first star it looks for a negative index in the array. It can be easly fixed with : |
The problem exist and without cancel enabled. What I need to change with this line |
It can be reproduced very easly : |
it should also in this section |
It seems the issue is related to this one #177
But in the current version I don't see that fix ( if(star)... )
_setIcon: function(star, icon) {
star[this.opt.starType === 'img' ? 'src' : 'className'] = this.opt.path + icon;
},
Thanks in advance
The text was updated successfully, but these errors were encountered: