File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Wishlist/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ define([
5555
5656 for ( key in options . productType ) {
5757 if ( options . productType . hasOwnProperty ( key ) && options . productType [ key ] + 'Info' in options ) {
58- events [ 'change ' + options [ options . productType [ key ] + 'Info' ] ] = dataUpdateFunc ;
58+ events [ 'addToWishlist ' + options [ options . productType [ key ] + 'Info' ] ] = dataUpdateFunc ;
5959 }
6060 }
6161 this . _on ( events ) ;
@@ -73,7 +73,7 @@ define([
7373 for ( key in this . options . productType ) {
7474 if ( this . options . productType . hasOwnProperty ( key )
7575 && this . options . productType [ key ] + 'Info' in this . options ) {
76- $ ( this . options [ this . options . productType [ key ] + 'Info' ] ) . trigger ( 'change ' ) ;
76+ $ ( this . options [ this . options . productType [ key ] + 'Info' ] ) . trigger ( 'addToWishlist ' ) ;
7777 }
7878 }
7979 } ,
You can’t perform that action at this time.
0 commit comments