Issue #3101635 by mrinalini9, TylerMarshall, Kristen Pol: Update comments in taxonomy.es6.js to reflect taxonomy and not blocks

merge-requests/2419/head
xjm 2020-05-10 19:03:15 -05:00
parent 7590d5b5df
commit 5c2f38aaad
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
(function($, Drupal) {
/**
* Move a block in the blocks table from one region to another.
* Reorder taxonomy terms.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row.
@ -19,7 +19,7 @@
attach(context, settings) {
const backStep = settings.taxonomy.backStep;
const forwardStep = settings.taxonomy.forwardStep;
// Get the blocks tableDrag object.
// Get the taxonomy tableDrag object.
const tableDrag = Drupal.tableDrag.taxonomy;
const $table = $('#taxonomy');
const rows = $table.find('tr').length;