Bug 199234 - Ctrl+Shift+Tab and ctrl-pgup don't work on the first tab

r=rginda
chatzilla only
This commit is contained in:
samuel%sieb.net 2003-04-08 22:07:28 +00:00
parent f0f727bb67
commit 1bfda01ee4

View File

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