mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
@chikathreesix fixed an object delete error in Chrome. closes #1858
This commit is contained in:
parent
789c72945a
commit
19058302bd
@ -16,6 +16,7 @@ CHANGELOG
|
||||
* @mmcc fixed an issue with text track hiding introduced in #1681 ([view](https://github.com/videojs/video.js/pull/1804))
|
||||
* Export video.js as a named AMD module ([view](https://github.com/videojs/video.js/pull/1844))
|
||||
* Hide the poster when play fires ([view](https://github.com/videojs/video.js/pull/1834))
|
||||
* @chikathreesix fixed an object delete error in Chrome ([view](https://github.com/videojs/video.js/pull/1858))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -245,6 +245,8 @@ vjs.getData = function(el){
|
||||
var id = el[vjs.expando];
|
||||
if (!id) {
|
||||
id = el[vjs.expando] = vjs.guid++;
|
||||
}
|
||||
if (!vjs.cache[id]) {
|
||||
vjs.cache[id] = {};
|
||||
}
|
||||
return vjs.cache[id];
|
||||
|
Loading…
Reference in New Issue
Block a user