diff --git a/src/core/Util.js b/src/core/Util.js index 8da04e65..1c5fda66 100644 --- a/src/core/Util.js +++ b/src/core/Util.js @@ -58,7 +58,7 @@ export function stamp(obj) { /*eslint-disable */ obj._leaflet_id = obj._leaflet_id || ++lastId; return obj._leaflet_id; - /*eslint-enable */ + /* eslint-enable */ } // @function throttle(fn: Function, time: Number, context: Object): Function diff --git a/src/dom/DomUtil.js b/src/dom/DomUtil.js index 6a5d1496..05085db3 100644 --- a/src/dom/DomUtil.js +++ b/src/dom/DomUtil.js @@ -223,7 +223,7 @@ export function setPosition(el, point) { /*eslint-disable */ el._leaflet_pos = point; - /*eslint-enable */ + /* eslint-enable */ if (Browser.any3d) { setTransform(el, point); diff --git a/src/layer/VideoOverlay.js b/src/layer/VideoOverlay.js index 8e8bc5b9..44df0f33 100644 --- a/src/layer/VideoOverlay.js +++ b/src/layer/VideoOverlay.js @@ -39,8 +39,8 @@ export var VideoOverlay = ImageOverlay.extend({ var wasElementSupplied = this._url.tagName === 'VIDEO'; var vid = this._image = wasElementSupplied ? this._url : DomUtil.create('video'); - DomUtil.addClass('leaflet-image-layer'); - if (this._zoomAnimated) { DomUtil.addClass('leaflet-zoom-animated'); } + DomUtil.addClass(vid, 'leaflet-image-layer'); + if (this._zoomAnimated) { DomUtil.addClass(vid, 'leaflet-zoom-animated'); } vid.onselectstart = Util.falseFn; vid.onmousemove = Util.falseFn; diff --git a/src/map/Map.js b/src/map/Map.js index 1276b8ec..e675f3e5 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -708,7 +708,7 @@ export var Map = Evented.extend({ } catch (e) { /*eslint-disable */ this._container._leaflet_id = undefined; - /*eslint-enable */ + /* eslint-enable */ this._containerId = undefined; }