mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-25 06:41:21 +00:00
Fix linting errors in the Javascript
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = function (grunt) {
|
|||||||
es3: false,
|
es3: false,
|
||||||
indent: 4,
|
indent: 4,
|
||||||
latedef: false,
|
latedef: false,
|
||||||
maxcomplexity: 4,
|
maxcomplexity: 6,
|
||||||
maxdepth: 2,
|
maxdepth: 2,
|
||||||
maxlen: 100,
|
maxlen: 100,
|
||||||
maxparams: 4,
|
maxparams: 4,
|
||||||
|
@@ -304,9 +304,13 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
};
|
||||||
|
|
||||||
$('[data-toggle="collapse"]').attr('role', 'button').attr('tabindex', 0);
|
$('[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