Skip to content

Commit

Permalink
Fix style violation
Browse files Browse the repository at this point in the history
  • Loading branch information
afcapel committed Oct 2, 2023
1 parent 1a66aa0 commit 57312b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/trix/observers/selection_change_observer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* eslint-disable
id-length,
*/
import BasicObject from "trix/core/basic_object"

export default class SelectionChangeObserver extends BasicObject {
Expand Down Expand Up @@ -32,7 +29,7 @@ export default class SelectionChangeObserver extends BasicObject {
}

unregisterSelectionManager(selectionManager) {
this.selectionManagers = this.selectionManagers.filter((s) => s !== selectionManager)
this.selectionManagers = this.selectionManagers.filter((sm) => sm !== selectionManager)
if (this.selectionManagers.length === 0) {
return this.stop()
}
Expand Down

0 comments on commit 57312b8

Please sign in to comment.