Skip to content

Commit

Permalink
fix readOnly when raty is using fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Baigorri committed May 20, 2016
1 parent 7177b56 commit 7fb8b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jquery.raty.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@

if (self.data('readonly') !== readonly) {
if (readonly) {
self.off('.raty').children('img').off('.raty');
self.off('.raty').children(this.opt.starType).off('.raty');

methods._lock.call(this);
} else {
Expand Down

0 comments on commit 7fb8b32

Please sign in to comment.