summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/taxonomy/taxonomy.js')
-rw-r--r--modules/taxonomy/taxonomy.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/taxonomy/taxonomy.js b/modules/taxonomy/taxonomy.js
index d047950df..a9539b206 100644
--- a/modules/taxonomy/taxonomy.js
+++ b/modules/taxonomy/taxonomy.js
@@ -1,5 +1,5 @@
// $Id$
-(function($) {
+(function ($) {
/**
* Move a block in the blocks table from one region to another via select list.
@@ -8,13 +8,13 @@
* objects initialized in that behavior to update the row.
*/
Drupal.behaviors.termDrag = {
- attach: function(context, settings) {
+ attach: function (context, settings) {
var table = $('#taxonomy', context);
var tableDrag = Drupal.tableDrag.taxonomy; // Get the blocks tableDrag object.
var rows = $('tr', table).size();
// When a row is swapped, keep previous and next page classes set.
- tableDrag.row.prototype.onSwap = function(swappedRow) {
+ tableDrag.row.prototype.onSwap = function (swappedRow) {
$('tr.taxonomy-term-preview', table).removeClass('taxonomy-term-preview');
$('tr.taxonomy-term-divider-top', table).removeClass('taxonomy-term-divider-top');
$('tr.taxonomy-term-divider-bottom', table).removeClass('taxonomy-term-divider-bottom');