Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STRF-4390: Fix event delegation error #1151

Merged
merged 1 commit into from
Jan 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Fix event delegation error [#1151](https://github.com/bigcommerce/cornerstone/pull/1151)

## 1.12.0 (2018-01-16)
- Removes duplicate amp-iframe attributes for Google Amp product-view temaplate [#1148](https://github.com/bigcommerce/cornerstone/pull/1148)
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme/global/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class Modal {

/* STRF-2471 - Multiple Wish Lists - prevents double-firing
* of foundation.dropdown click.fndtn.dropdown event */
this.$modal.on('click .dropdown-menu-button', e => {
this.$modal.on('click', '.dropdown-menu-button', e => {
e.stopPropagation();
});
}
Expand Down