Unbind error event
This commit is contained in:
parent
94bbe803c1
commit
a7dce35fae
2 changed files with 2 additions and 2 deletions
|
@ -708,6 +708,7 @@ function tryRemoveElement(elem) {
|
|||
videoElement.removeEventListener('click', this.onClick);
|
||||
videoElement.removeEventListener('dblclick', this.onDblClick);
|
||||
videoElement.removeEventListener('waiting', this.onWaiting);
|
||||
videoElement.removeEventListener('error', this.onError); // bound in htmlMediaHelper
|
||||
|
||||
videoElement.parentNode.removeChild(videoElement);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue