diff options
Diffstat (limited to 'modules/profile/profile.js')
-rw-r--r-- | modules/profile/profile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.js b/modules/profile/profile.js index f1d53378b..334d71df6 100644 --- a/modules/profile/profile.js +++ b/modules/profile/profile.js @@ -45,7 +45,7 @@ Drupal.behaviors.profileDrag = { var weightField = $('select.profile-weight', dragObject.rowObject.element); var oldcategoryNum = weightField[0].className.replace(/([^ ]+[ ]+)*profile-weight-([^ ]+)([ ]+[^ ]+)*/, '$2'); - if (!categoryField.is('.profile-category-'+ categoryNum)) { + if (!categoryField.is('.profile-category-' + categoryNum)) { categoryField.removeClass('profile-category-' + oldcategoryNum).addClass('profile-category-' + categoryNum); weightField.removeClass('profile-weight-' + oldcategoryNum).addClass('profile-weight-' + categoryNum); |