Browse Source

hide: fix tabs

lviguier 1 year ago
parent
commit
57400bbb14
1 changed files with 1 additions and 1 deletions
  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);
 	}