Skip to content

Commit d42e8b7

Browse files
committed
fix sonar
1 parent c8f263d commit d42e8b7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/leaflet/control/ChangeTileVersion.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ export var ChangeTileVersion = L.Control.extend({
298298
if (this.options.orientation === 'vertical') {
299299
this.slider.style.width = 170 + 'px';
300300
this._sliderContainer.style.height = 170 + 'px';
301-
} else if (this.options.orientation === 'vertical') {
302-
this._sliderContainer.style.height = 170 + 'px';
303301
} else {
304302
this._sliderContainer.style.width = 150 + 'px';
305303
}

src/openlayers/control/ChangeTileVersion.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ export class ChangeTileVersion extends ol.control.Control {
139139
if (options.orientation == 'vertical') {
140140
this.slider.style.width = 170 + 'px';
141141
this._sliderContainer.style.height = 170 + 'px';
142-
} else if (options.orientation == 'vertical') {
143-
this._sliderContainer.style.height = 170 + 'px';
144142
} else {
145143
this._sliderContainer.style.width = 150 + 'px';
146144
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy