mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Bug 199234 - Ctrl+Shift+Tab and ctrl-pgup don't work on the first tab
r=rginda chatzilla only
This commit is contained in:
parent
f0f727bb67
commit
1bfda01ee4
@ -819,6 +819,8 @@ function cycleView (amount)
|
||||
|
||||
var vk = Number(tb.getAttribute("viewKey"));
|
||||
var destKey = (vk + amount) % len; /* wrap around */
|
||||
if (destKey < 0)
|
||||
destKey += len;
|
||||
|
||||
setCurrentObject (client.viewsArray[destKey].source);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user