Skip to content

Commit 89ea15a

Browse files
author
Volodymyr Zaets
committed
MAGETWO-44289: Broken HTML and Javascript on enabled MSRP and PayPal EC
1 parent 9b2dd23 commit 89ea15a

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ define([
9797

9898
$(this.options.popupId).on('click', this.openPopup.bind(this));
9999

100-
101100
this.$popup = $msrpPopup;
102101
},
103102

@@ -216,10 +215,12 @@ define([
216215
}
217216
}.bind(this));
218217
this._toggle(this.$popup);
218+
219219
if (!this.options.isSaleable) {
220220
this.$popup.find('form').hide();
221221
}
222222
},
223+
223224
/**
224225
*
225226
* @param {HTMLElement} $elem

0 commit comments

Comments
 (0)