Skip to content

Commit cb8a279

Browse files
committed
MAGETWO-44720: Add to cart button is displayed on MAP pop up for product that is out of stock
-- fix cs
1 parent 8cf4db8 commit cb8a279

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Msrp/view/base/web/js

1 file changed

+3
-3
lines changed

app/code/Magento/Msrp/view/base/web/js/msrp.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ define([
105105
/**
106106
* Open and set up popup
107107
*
108-
* @param element
108+
* @param event
109109
*/
110-
openPopup: function (element) {
111-
this.popUpOptions.position.of = $(element.target);
110+
openPopup: function (event) {
111+
this.popUpOptions.position.of = $(event.target);
112112
this.$popup.find(this.options.msrpLabelId).html(this.options.msrpPrice);
113113
this.$popup.find(this.options.priceLabelId).html(this.options.realPrice);
114114
this.$popup.dropdownDialog(this.popUpOptions).dropdownDialog('open');

0 commit comments

Comments
 (0)