Skip to content

Commit 6a23aae

Browse files
committed
Bug 1402788 - [Regression] 'Open in New Tab/Open in New Private Tab' are missing form the context menu (mozilla-mobile#3212)
1 parent 0898bd5 commit 6a23aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/Assets/ContextMenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ window.addEventListener("touchstart", function(event) {
125125
return;
126126
}
127127

128-
if (target.tagName === "img") {
128+
if (target.tagName === "IMG") {
129129
data.image = target.src;
130130
}
131131

132-
if (element.tagName === "a") {
132+
if (element.tagName === "A") {
133133
data.link = element.href;
134134

135135
// The web view still shows the tap highlight after clicking an element,

0 commit comments

Comments
 (0)