From 66ac2064fecff1cc95b47bf91217faced601d20b Mon Sep 17 00:00:00 2001 From: xjm Date: Mon, 16 Jan 2023 10:36:05 -0600 Subject: Issue #3185640 by lucienchalom, jungle, smustgrave, ravi.shankar, andregp, xjm, quietone, sergiogsanchez: Fix or ignore words that start with "v", excluding real non-English words --- core/modules/node/node.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/modules/node/node.js') diff --git a/core/modules/node/node.js b/core/modules/node/node.js index c9ed55068d3..74047c9ab2b 100644 --- a/core/modules/node/node.js +++ b/core/modules/node/node.js @@ -38,16 +38,16 @@ $context.find('.node-form-options').drupalSetSummary((context) => { const $optionsContext = $(context); - const vals = []; + const values = []; if ($optionsContext.find('input').is(':checked')) { $optionsContext .find('input:checked') .next('label') .each(function () { - vals.push(Drupal.checkPlain(this.textContent.trim())); + values.push(Drupal.checkPlain(this.textContent.trim())); }); - return vals.join(', '); + return values.join(', '); } return Drupal.t('Not promoted'); -- cgit v1.2.3