Fix middle click in web panels to still work.

This commit is contained in:
hyatt%mozilla.org 2003-08-02 08:05:19 +00:00
parent fe365794ed
commit d9e8dc9ed2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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">