Skip to content

Commit 7b738c0

Browse files
authored
account.js template literal fix (#2464)
* account.js template literal fix * adding changelog * adding changelog * Update CHANGELOG.md
1 parent 3bbcca4 commit 7b738c0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Draft
8+
- Account.js - Fixed jquery selector to be template literal [#2464](https://github.com/bigcommerce/cornerstone/pull/2464)
89

910
## 6.14.0 (05-15-2024)
1011
- Account.php <a href> is inside of a list item [#2457](https://github.com/bigcommerce/cornerstone/pull/2457)

assets/js/theme/account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export default class Account extends PageManager {
411411
const validationModel = validation($editAccountForm, this.context);
412412
const formEditSelector = 'form[data-edit-account-form]';
413413
const editValidator = nod({
414-
submit: '${formEditSelector} input[type="submit"]',
414+
submit: `${formEditSelector} input[type="submit"]`,
415415
delay: 900,
416416
});
417417
const emailSelector = `${formEditSelector} [data-field-type="EmailAddress"]`;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)