diff options
author | xjm <xjm@65776.no-reply.drupal.org> | 2023-01-16 10:36:05 -0600 |
---|---|---|
committer | xjm <xjm@65776.no-reply.drupal.org> | 2023-01-16 10:36:05 -0600 |
commit | 66ac2064fecff1cc95b47bf91217faced601d20b (patch) | |
tree | 11c1c2fdb20496b166ccd9709bb699e89247b7bc /core/modules/node/node.js | |
parent | 5a193a820f526efb0b9f2ef8a49a4e249894aa5d (diff) | |
download | drupal-66ac2064fecff1cc95b47bf91217faced601d20b.tar.gz drupal-66ac2064fecff1cc95b47bf91217faced601d20b.zip |
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
Diffstat (limited to 'core/modules/node/node.js')
-rw-r--r-- | core/modules/node/node.js | 6 |
1 files changed, 3 insertions, 3 deletions
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'); |