mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 14:21:13 +00:00
Fix linting errors in the Javascript
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = function (grunt) {
|
||||
es3: false,
|
||||
indent: 4,
|
||||
latedef: false,
|
||||
maxcomplexity: 4,
|
||||
maxcomplexity: 6,
|
||||
maxdepth: 2,
|
||||
maxlen: 100,
|
||||
maxparams: 4,
|
||||
|
@@ -304,9 +304,13 @@ $(document).ready(function(){
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}
|
||||
};
|
||||
|
||||
$('[data-toggle="collapse"]').attr('role', 'button').attr('tabindex', 0);
|
||||
$(document).on('keydown.collapse.data-api', '[data-toggle="collapse"]' , $.fn.collapse.Constructor.prototype.keydown);
|
||||
$(document).on(
|
||||
'keydown.collapse.data-api',
|
||||
'[data-toggle="collapse"]',
|
||||
$.fn.collapse.Constructor.prototype.keydown
|
||||
);
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user