Bug 187500: selectedIndex broken for <tabs> element. patch by rginda, r=blake, sr=jag

git-svn-id: svn://10.0.0.236/trunk@136182 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jaggernaut%netscape.com 2003-01-11 00:21:42 +00:00
parent a54f3c9d77
commit d414ce17cb

View File

@ -215,7 +215,7 @@
<![CDATA[
const tabs = this.childNodes;
for (var i = 0; i < tabs.length; i++) {
if (tabs.selected)
if (tabs[i].selected)
return i;
}
// throw an exception when no tab is selected (we shouldn't get here)