Fix `class` in IE.
parent
345f6ff8ef
commit
bd2f6f9a83
|
@ -470,7 +470,7 @@ Button.prototype = {
|
|||
'text': number,
|
||||
};
|
||||
if (!number && !this.options.zeroes) {
|
||||
params.class += ' ' + prefix + '__counter_empty';
|
||||
params['class'] += ' ' + prefix + '__counter_empty';
|
||||
params.text = '';
|
||||
}
|
||||
var counterElem = $('<span>', params);
|
||||
|
|
Loading…
Reference in New Issue