diff --git a/src/trix/observers/selection_change_observer.js b/src/trix/observers/selection_change_observer.js index c9b2193eb..b8d78152e 100644 --- a/src/trix/observers/selection_change_observer.js +++ b/src/trix/observers/selection_change_observer.js @@ -1,6 +1,3 @@ -/* eslint-disable - id-length, -*/ import BasicObject from "trix/core/basic_object" export default class SelectionChangeObserver extends BasicObject { @@ -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() }