Bug 517114 - Keep video controls from being draggable. r=dolske

This commit is contained in:
Ben Craddock 2014-10-01 22:58:00 +02:00
Родитель 54772b855c
Коммит f939423743
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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 ---");
}
};