for horizontal tab bar, failed to reset z index

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-02-09 02:52:10 +09:00
parent 06eef3c87d
commit db70b7f469

View File

@ -532,7 +532,7 @@ TreeStyleTabBrowser.prototype = {
{ {
let tab = tabs[i]; let tab = tabs[i];
if (aStacked) if (aStacked)
tab.style.zIndex = count * 1000 - index; tab.style.zIndex = count * 1000 - i;
else else
tab.style.zIndex = ''; tab.style.zIndex = '';
} }