Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VideoOverlay.js #5731

Merged
merged 2 commits into from
Aug 28, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update VideoOverlay.js
wrong keyword uses - className should be used instead
found this when testing new leaflet on ie8 - map doesn't load because of this
  • Loading branch information
Dzwiedzminator authored Aug 24, 2017
commit 8bdffe248ad99c1c8cd840cb091926cb06e44880
4 changes: 2 additions & 2 deletions src/layer/VideoOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

vid.class = vid.class || '';
vid.class += 'leaflet-image-layer ' + (this._zoomAnimated ? 'leaflet-zoom-animated' : '');
vid.className = vid.className || '';
vid.className += 'leaflet-image-layer ' + (this._zoomAnimated ? 'leaflet-zoom-animated' : '');

vid.onselectstart = Util.falseFn;
vid.onmousemove = Util.falseFn;
Expand Down