Skip to content
Snippets Groups Projects
Commit 0e9422a3 authored by Jess's avatar Jess
Browse files

Issue #2793349 by nod_, droplet: Fix eslint errors

parent f03979cc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -498,6 +498,9 @@
var keyChange = false;
var groupHeight;
/* eslint-disable no-fallthrough */
switch (event.keyCode) {
// Left arrow.
case 37:
......@@ -601,6 +604,8 @@
break;
}
/* eslint-enable no-fallthrough */
if (self.rowObject && self.rowObject.changed === true) {
$(item).addClass('drag');
if (self.oldRowElement) {
......@@ -624,6 +629,9 @@
// other browsers need to return false on keypress.
// http://www.quirksmode.org/js/keys.html
handle.on('keypress', function (event) {
/* eslint-disable no-fallthrough */
switch (event.keyCode) {
// Left arrow.
case 37:
......@@ -635,6 +643,9 @@
case 40:
return false;
}
/* eslint-enable no-fallthrough */
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment