Skip to content

Commit 003353d

Browse files
authored
Update index.rst
1 parent bb09c7a commit 003353d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Autocomplete/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)