Skip to content
Snippets Groups Projects
Commit 172a4cc2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1684874 by droplet, nod_: JSHint taxonomy.

parent 0cbffd29
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
......@@ -29,8 +29,8 @@ Drupal.behaviors.termDrag = {
}
if (settings.taxonomy.forwardStep) {
for (var n = rows - settings.taxonomy.forwardStep - 1; n < rows - 1; n++) {
$(table[0].tBodies[0].rows[n]).addClass('taxonomy-term-preview');
for (var k = rows - settings.taxonomy.forwardStep - 1; k < rows - 1; k++) {
$(table[0].tBodies[0].rows[k]).addClass('taxonomy-term-preview');
}
$(table[0].tBodies[0].rows[rows - settings.taxonomy.forwardStep - 2]).addClass('taxonomy-term-divider-top');
$(table[0].tBodies[0].rows[rows - settings.taxonomy.forwardStep - 1]).addClass('taxonomy-term-divider-bottom');
......
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