зеркало из https://github.com/mozilla/gecko-dev.git
Bug 517114 - Keep video controls from being draggable. r=dolske
This commit is contained in:
Родитель
54772b855c
Коммит
f939423743
|
@ -1513,6 +1513,10 @@
|
|||
addListener(this.video.ownerDocument, "mozfullscreenchange", this.onFullscreenChange);
|
||||
addListener(this.video, "keypress", this.keyHandler);
|
||||
|
||||
addListener(this.videocontrols, "dragstart", function(event) {
|
||||
event.preventDefault(); //prevent dragging of controls image (bug 517114)
|
||||
});
|
||||
|
||||
this.log("--- videocontrols initialized ---");
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче