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:
351
351
352
352
disconnect () {
353
353
// 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 );
356
356
}
357
357
358
358
_onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ custom Stimulus controller:
104
104
105
105
disconnect () {
106
106
// You should always remove listeners when the controller is disconnected to avoid side effects
107
- this .element .removeEventListener (' cropperjs:pre-connect' , this ._onConnect );
108
107
this .element .removeEventListener (' cropperjs:connect' , this ._onConnect );
108
+ this .element .removeEventListener (' cropperjs:pre-connect' , this ._onPreConnect );
109
109
}
110
110
111
111
_onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ Stimulus controller:
154
154
155
155
disconnect () {
156
156
// 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 );
159
159
}
160
160
161
161
_onPreConnect (event ) {
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ Stimulus controller:
99
99
100
100
disconnect () {
101
101
// 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 );
104
104
}
105
105
106
106
_onPreConnect (event ) {
You can’t perform that action at this time.
0 commit comments