mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Fix middle click in web panels to still work.
This commit is contained in:
parent
fe365794ed
commit
d9e8dc9ed2
@ -3781,7 +3781,7 @@ nsDefaultEngine.prototype =
|
||||
break;
|
||||
}
|
||||
if (linkNode) {
|
||||
if (fieldNormalClicks && !event.ctrlKey && !event.shiftKey &&
|
||||
if (fieldNormalClicks && event.button == 0 && !event.ctrlKey && !event.shiftKey &&
|
||||
!event.altKey && !event.metaKey && !linkNode.getAttribute("target")) {
|
||||
var url = getShortcutOrURI(linkNode.href);
|
||||
if (!url)
|
||||
|
@ -99,7 +99,7 @@
|
||||
<!ENTITY historyCmd.accesskey "i">
|
||||
<!ENTITY history.commandKey "h">
|
||||
|
||||
<!ENTITY webPanels.commandKey "y">
|
||||
<!ENTITY webPanels.commandKey "j">
|
||||
|
||||
<!ENTITY tasksMenu.label "Tools">
|
||||
<!ENTITY tasksMenu.accesskey "T">
|
||||
|
Loading…
Reference in New Issue
Block a user