Small code cleanup
drop superfluous if.
This commit is contained in:
committed by
Andreas Hocevar
parent
dc957ec104
commit
2d7e55e26a
@@ -333,8 +333,7 @@ class Select extends Interaction {
|
||||
if (this.style_) {
|
||||
this.features_.forEach(this.applySelectedStyle_.bind(this));
|
||||
}
|
||||
}
|
||||
if (!map) {
|
||||
} else {
|
||||
this.features_.removeEventListener(CollectionEventType.ADD, this.boundAddFeature_);
|
||||
this.features_.removeEventListener(CollectionEventType.REMOVE, this.boundRemoveFeature_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user