mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
@gkatsev removed event.isDefaultPrevented in favor of event.defaultPrevented. closes #2081
This commit is contained in:
parent
4ac762cf48
commit
94f33c8d43
@ -13,6 +13,7 @@ CHANGELOG
|
||||
* @mmcc added ES6 default args and template strings ([view](https://github.com/videojs/video.js/pull/2015))
|
||||
* @dconnolly replaced JSON.parse with a safe non-eval JSON parse ([view](https://github.com/videojs/video.js/pull/2077))
|
||||
* @mmcc added a new default skin, switched to SASS, modified the html ([view](https://github.com/videojs/video.js/pull/1999))
|
||||
* @gkatsev removed event.isDefaultPrevented in favor of event.defaultPrevented ([view](https://github.com/videojs/video.js/pull/2081))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -62,11 +62,9 @@ var fixEvent = function(event) {
|
||||
old.preventDefault();
|
||||
}
|
||||
event.returnValue = false;
|
||||
event.isDefaultPrevented = returnTrue;
|
||||
event.defaultPrevented = true;
|
||||
};
|
||||
|
||||
event.isDefaultPrevented = returnFalse;
|
||||
event.defaultPrevented = false;
|
||||
|
||||
// Stop the event from bubbling
|
||||
|
Loading…
Reference in New Issue
Block a user