Skip to content
Snippets Groups Projects
Commit 94cb1b45 authored by James Shields's avatar James Shields Committed by Chris Wells
Browse files

Issue #3443929 by lostcarpark, fjgarlin: Eslint - Prefer matches to $.is jquery/no-is

parent daaf365d
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@
*/
function updateLastPlaced(table, rowObject) {
const $rowObject = $(rowObject);
// eslint-disable-next-line
if (!$rowObject.is('.drag-previous')) {
table.find('.drag-previous').removeClass('drag-previous');
$rowObject.addClass('drag-previous');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment