kopia lustrzana https://github.com/wagtail/wagtail
Fix JavaScript style error causing CI failures
The Drone JS style checker was complaining about the bad quotes.pull/1813/head
rodzic
8e00899233
commit
b85d6dab3f
|
@ -237,9 +237,9 @@ function InlinePanel(opts) {
|
||||||
var addButton = $('#' + opts.formsetPrefix + '-ADD');
|
var addButton = $('#' + opts.formsetPrefix + '-ADD');
|
||||||
|
|
||||||
if (forms.length >= opts.maxForms) {
|
if (forms.length >= opts.maxForms) {
|
||||||
addButton.addClass("disabled");
|
addButton.addClass('disabled');
|
||||||
} else {
|
} else {
|
||||||
addButton.removeClass("disabled");
|
addButton.removeClass('disabled');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue