dota2-data / panorama /scripts /fall2015_crafting.js
Sqls1's picture
Update the game's scripts and texts
1c54935 verified
Raw History Blame Contribute Delete
260 Bytes
var SwitchTab = function( strTabID )
{
var tabContents = $( '#CraftingTabContents' );
for ( var i = 0; i < tabContents.GetChildCount(); ++i )
{
var child = tabContents.GetChild( i );
child.SetHasClass( 'TabSelected', child.id == strTabID );
}
}