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:
parent
a54f3c9d77
commit
d414ce17cb
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user