mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
IE 7/8 fix attempt
This commit is contained in:
@@ -45,12 +45,12 @@
|
|||||||
if (self.opt.score) {
|
if (self.opt.score) {
|
||||||
self.opt.score = methods.between(self.opt.score, 0, self.opt.number);
|
self.opt.score = methods.between(self.opt.score, 0, self.opt.number);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i = 1; i <= self.opt.number; i++) {
|
for (var i = 1; i <= self.opt.number; i++) {
|
||||||
$('<img />', {
|
$('<img />', {
|
||||||
src : self.opt.path + ((!self.opt.score || self.opt.score < i) ? self.opt.starOff : self.opt.starOn),
|
src : self.opt.path + ((!self.opt.score || self.opt.score < i) ? self.opt.starOff : self.opt.starOn),
|
||||||
alt : i,
|
alt : i,
|
||||||
class : self.opt.css,
|
'class' : self.opt.css,
|
||||||
title : (i <= self.opt.hints.length && self.opt.hints[i - 1] !== null) ? self.opt.hints[i - 1] : i
|
title : (i <= self.opt.hints.length && self.opt.hints[i - 1] !== null) ? self.opt.hints[i - 1] : i
|
||||||
}).appendTo(self);
|
}).appendTo(self);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user