зеркало из https://github.com/mozilla/pjs.git
Bug 485288 - Don't process video controls events after bindings detached. r=dolske a=blocking2.0
This commit is contained in:
Родитель
92046af63f
Коммит
ea94360698
|
@ -404,8 +404,10 @@
|
|||
|
||||
// If the binding is detached (or has been replaced by a
|
||||
// newer instance of the binding), nuke our event-listeners.
|
||||
if (this.videocontrols.randomID != this.randomID)
|
||||
if (this.videocontrols.randomID != this.randomID) {
|
||||
this.terminateEventListeners();
|
||||
return;
|
||||
}
|
||||
|
||||
switch (aEvent.type) {
|
||||
case "play":
|
||||
|
|
Загрузка…
Ссылка в новой задаче