diff options
Diffstat (limited to 'core/modules/node/node.js')
-rw-r--r-- | core/modules/node/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/node.js b/core/modules/node/node.js index ebca1208a7f0..52e221e9acde 100644 --- a/core/modules/node/node.js +++ b/core/modules/node/node.js @@ -39,7 +39,7 @@ if ($optionsContext.find('input').is(':checked')) { $optionsContext.find('input:checked').next('label').each(function () { - vals.push(Drupal.checkPlain($.trim($(this).text()))); + vals.push(Drupal.checkPlain($(this).text().trim())); }); return vals.join(', '); } |