summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/node/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/node.js')
-rw-r--r--core/modules/node/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/node.js b/core/modules/node/node.js
index a31756ca98e0..a92c5bb6f1fd 100644
--- a/core/modules/node/node.js
+++ b/core/modules/node/node.js
@@ -40,7 +40,7 @@
if ($optionsContext.find('input').is(':checked')) {
$optionsContext.find('input:checked').next('label').each(function () {
- vals.push(Drupal.checkPlain($(this).text().trim()));
+ vals.push(Drupal.checkPlain(this.textContent.trim()));
});
return vals.join(', ');
}