mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-25 18:30:24 +00:00
Merge pull request #1813 from takeflight/fix/javascript-style-error
Fix JavaScript style error causing CI failures
This commit is contained in:
commit
e3154fa06f
1 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue