kopia lustrzana https://github.com/wagtail/wagtail
Merge pull request #1813 from takeflight/fix/javascript-style-error
Fix JavaScript style error causing CI failurespull/1812/head
commit
e3154fa06f
|
@ -237,9 +237,9 @@ function InlinePanel(opts) {
|
|||
var addButton = $('#' + opts.formsetPrefix + '-ADD');
|
||||
|
||||
if (forms.length >= opts.maxForms) {
|
||||
addButton.addClass("disabled");
|
||||
addButton.addClass('disabled');
|
||||
} else {
|
||||
addButton.removeClass("disabled");
|
||||
addButton.removeClass('disabled');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue