Fix lint error
This commit is contained in:
parent
2f563dbd2b
commit
9157597175
@ -1086,7 +1086,7 @@ window.addEventListener('scalechange', function scalechange(evt) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var predefinedValueFound = selectScaleOption('' + evt.scale);
|
var predefinedValueFound = selectScaleOption('' + evt.scale);
|
||||||
if (!predefinedValueFound) {
|
if (!predefinedValueFound) {
|
||||||
customScaleOption.textContent = Math.round(evt.scale * 10000) / 100 + '%';
|
customScaleOption.textContent = Math.round(evt.scale * 10000) / 100 + '%';
|
||||||
customScaleOption.selected = true;
|
customScaleOption.selected = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user