mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 461810 - Video content menu should operate on .currentSrc, not .src. r=gavin
This commit is contained in:
parent
b9fbf2e7c2
commit
f6a9437320
@ -463,11 +463,11 @@ nsContextMenu.prototype = {
|
||||
}
|
||||
else if (this.target instanceof HTMLVideoElement) {
|
||||
this.onVideo = true;
|
||||
this.mediaURL = this.target.src;
|
||||
this.mediaURL = this.target.currentSrc;
|
||||
}
|
||||
else if (this.target instanceof HTMLAudioElement) {
|
||||
this.onAudio = true;
|
||||
this.mediaURL = this.target.src;
|
||||
this.mediaURL = this.target.currentSrc;
|
||||
}
|
||||
else if (this.target instanceof HTMLInputElement ) {
|
||||
this.onTextInput = this.isTargetATextBox(this.target);
|
||||
|
Loading…
Reference in New Issue
Block a user