You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the $scope.init function runs before the uib-tabset directive finished rendering into the DOM, so the querySelector returns null. $el[0].querySelector('.spacer ul.nav-tabs');
I temporarily fixed it in my code by setting in a delay for the init function.
ex:
$timeout(function(){$scope.init();},100);
Is there a better solution?
The text was updated successfully, but these errors were encountered:
Sometimes the $scope.init function runs before the
uib-tabset
directive finished rendering into the DOM, so the querySelector returns null.$el[0].querySelector('.spacer ul.nav-tabs');
I temporarily fixed it in my code by setting in a delay for the init function.
ex:
Is there a better solution?
The text was updated successfully, but these errors were encountered: