File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Swatches/view/adminhtml/web/js Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -431,10 +431,10 @@ define([
431
431
tableBody = $ ( ) ,
432
432
activePanel = $ ( ) ;
433
433
434
- $ ( '#frontend_input' ) . bind ( 'change' , function ( ) {
434
+ $ ( '#frontend_input' ) . on ( 'change' , function ( ) {
435
435
swatchProductAttributes . bindAttributeInputType ( ) ;
436
436
} ) ;
437
- $ ( '#is_filterable' ) . bind ( 'change' , function ( ) {
437
+ $ ( '#is_filterable' ) . on ( 'change' , function ( ) {
438
438
swatchProductAttributes . switchIsFilterable ( ) ;
439
439
} ) ;
440
440
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ define([
445
445
cfg . depResizeElem . model . width = $ ( cfg . depResizeElem . elems [ 0 ] ) . outerWidth ( ) ;
446
446
body . addClass ( this . inResizeClass ) ;
447
447
body . bind ( 'mousemove' , this . mousemoveHandler ) ;
448
- $ ( window ) . bind ( 'mouseup' , this . mouseupHandler ) ;
448
+ $ ( window ) . on ( 'mouseup' , this . mouseupHandler ) ;
449
449
} ,
450
450
451
451
/**
@@ -529,7 +529,7 @@ define([
529
529
530
530
body . removeClass ( this . inResizeClass ) ;
531
531
body . unbind ( 'mousemove' , this . mousemoveHandler ) ;
532
- $ ( window ) . unbind ( 'mouseup' , this . mouseupHandler ) ;
532
+ $ ( window ) . off ( 'mouseup' , this . mouseupHandler ) ;
533
533
} ,
534
534
535
535
/**
You can’t perform that action at this time.
0 commit comments