Fix JavaScript style error causing CI failures

The Drone JS style checker was complaining about the bad quotes.
pull/1813/head
Tim Heap 2015-10-10 13:22:34 +11:00
rodzic 8e00899233
commit b85d6dab3f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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');
} }
} }
}; };