Bug 514919 - Add tab-switching shortcuts that work in a tab. r=silver@warwickcompsoc.co.uk (James Ross), a=NPOTFFB.
git-svn-id: svn://10.0.0.236/trunk@258574 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -567,7 +567,8 @@ function onWindowKeyPress(e)
|
||||
case 34: /* Page Down */
|
||||
// Control-Page Up => previous tab (all platforms)
|
||||
// Control-Page Down => next tab (all platforms)
|
||||
if (e.ctrlKey && !e.altKey && !e.metaKey && !e.shiftKey)
|
||||
if ((e.ctrlKey && !e.altKey && !e.metaKey && !e.shiftKey) ||
|
||||
(e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey))
|
||||
{
|
||||
cycleView(2 * code - 67);
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user