bug 223534: alt+enter for opening URL in new tab doesn't work at all. Fix the problem by preventing Alt+Enter default action in the bubbling phase instead of the capturing one so that Alt+Enter can be handled and still doesn't beep on WinXP.

git-svn-id: svn://10.0.0.236/trunk@148379 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
chanial%noos.fr 2003-10-25 19:31:07 +00:00
parent 8a9b707b9e
commit 180b8d0969

View File

@ -397,7 +397,7 @@ function delayedStartup()
gBrowser.addEventListener("load", function(evt) { setTimeout(loadEventHandlers, 0, evt); }, true);
window.addEventListener("keypress", ctrlNumberTabSelection, true);
window.addEventListener("keypress", ctrlNumberTabSelection, false);
if (gMustLoadSidebar) {
var sidebar = document.getElementById("sidebar");