File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
app/code/Magento/Msrp/view/base/web/js Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,7 @@ define([
72
72
$ ( 'body' ) . append ( $ ( this . popupDOM ) . html ( ) ) ;
73
73
this . $popup = $ ( $ ( this . popupDOM ) . html ( ) ) ;
74
74
75
- $ ( this . options . popupId ) . on ( 'click' , function ( e ) {
76
- this . openPopup ( e ) ;
77
- } . bind ( this ) ) ;
75
+ $ ( this . options . popupId ) . on ( 'click' , this . openPopup . bind ( this ) ) ;
78
76
}
79
77
80
78
if ( this . options . helpLinkId ) {
@@ -109,7 +107,7 @@ define([
109
107
*
110
108
* @param element
111
109
*/
112
- openPopup : function ( element ) {
110
+ openPopup : function ( element ) {
113
111
this . popUpOptions . position . of = $ ( element . target ) ;
114
112
this . $popup . find ( this . options . msrpLabelId ) . html ( this . options . msrpPrice ) ;
115
113
this . $popup . find ( this . options . priceLabelId ) . html ( this . options . realPrice ) ;
You can’t perform that action at this time.
0 commit comments