Fixes linter problems

This commit is contained in:
Sebastian Peterschmidt 2018-04-02 22:00:38 +00:00 committed by GitHub
parent f762323d97
commit 73424e1bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
originalState = originalState && $(this).is(':checked');
});
$('form.splashpage .select-all').prop('checked', originalState);
$('form.splashpage').on('change', '.select-all', function(e) {
var value = $(this).is(':checked');
var parent = $(this).parents('.inputs:first');
@ -27,7 +27,7 @@
.boolean.input.optional.form-group.checkbox
%span.form-wrapper
%label.control-label
%input.select-all{type: 'checkbox'}
%input.select-all{ type: 'checkbox' }
%em Select all
%li