Ver Fonte

hide: fix tabs

lviguier há 1 ano atrás
pai
commit
57400bbb14
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      hide/comp/Tabs.hx

+ 1 - 1
hide/comp/Tabs.hx

@@ -11,7 +11,7 @@ class Tabs extends Component {
 		if( bottomTabs ) element.addClass("tabs-bottom");
 		header = new Element("<div>").addClass("tabs-header").prependTo(element);
 		syncTabs();
-		var t = getTabs().get();
+		var t = getTabs().get(0);
 		if( t != null ) currentTab = new Element(t);
 	}