Fix eslint
parent
c2fe3ce1e8
commit
123c261e75
|
@ -318,7 +318,8 @@ function changeScale() {
|
|||
currentScale = newSize.autoScale;
|
||||
} else if (scaleSel.indexOf("px") > -1) {
|
||||
newSize = scaleToFit(eventData.Width, eventData.Height, eventViewer, false, $j('#wrapperEventVideo')); // Only for calculating the maximum width!
|
||||
let w, h = w = '';
|
||||
let w = 0;
|
||||
let h = 0;
|
||||
if (landscape) {
|
||||
w = Math.min(stringToNumber(scaleSel), newSize.width);
|
||||
h = w / (eventData.Width / eventData.Height);
|
||||
|
@ -1687,7 +1688,7 @@ function initPage() {
|
|||
zoomOffset: -1,
|
||||
accessToken: ZM_OPT_GEOLOCATION_ACCESS_TOKEN,
|
||||
}).addTo(map);
|
||||
marker = L.marker([eventData.Latitude, eventData.Longitude], {draggable: 'false'});
|
||||
const marker = L.marker([eventData.Latitude, eventData.Longitude], {draggable: 'false'});
|
||||
marker.addTo(map);
|
||||
map.invalidateSize();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue