File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -351,8 +351,8 @@ events that the core Stimulus controller dispatches:
351351
352352 disconnect () {
353353 // You should always remove listeners when the controller is disconnected to avoid side-effects
354- this .element .removeEventListener (' autocomplete:pre- connect' , this ._onConnect );
355- this .element .removeEventListener (' autocomplete:connect' , this ._onPreConnect );
354+ this .element .removeEventListener (' autocomplete:connect' , this ._onConnect );
355+ this .element .removeEventListener (' autocomplete:pre- connect' , this ._onPreConnect );
356356 }
357357
358358 _onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ custom Stimulus controller:
104104
105105 disconnect () {
106106 // You should always remove listeners when the controller is disconnected to avoid side effects
107- this .element .removeEventListener (' cropperjs:pre-connect' , this ._onConnect );
108107 this .element .removeEventListener (' cropperjs:connect' , this ._onConnect );
108+ this .element .removeEventListener (' cropperjs:pre-connect' , this ._onPreConnect );
109109 }
110110
111111 _onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ Stimulus controller:
154154
155155 disconnect () {
156156 // You should always remove listeners when the controller is disconnected to avoid side-effects
157- this .element .removeEventListener (' swup:pre- connect' , this ._onConnect );
158- this .element .removeEventListener (' swup:connect' , this ._onPreConnect );
157+ this .element .removeEventListener (' swup:connect' , this ._onConnect );
158+ this .element .removeEventListener (' swup:pre- connect' , this ._onPreConnect );
159159 }
160160
161161 _onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ Stimulus controller:
9999
100100 disconnect () {
101101 // You should always remove listeners when the controller is disconnected to avoid side-effects
102- this .element .removeEventListener (' typed:pre- connect' , this ._onConnect );
103- this .element .removeEventListener (' typed:connect' , this ._onPreConnect );
102+ this .element .removeEventListener (' typed:connect' , this ._onConnect );
103+ this .element .removeEventListener (' typed:pre- connect' , this ._onPreConnect );
104104 }
105105
106106 _onPreConnect (event ) {
You can’t perform that action at this time.
0 commit comments