frio - append tabbar to nav only if it's a direct child of section

This commit is contained in:
rabuzarus 2017-02-03 19:37:47 +01:00
parent c12850250d
commit 7f1acdb8e9

View file

@ -40,9 +40,7 @@ $(document).ready(function(){
$(".field.select > select, .field.custom > select").addClass("form-control");
// move the tabbar to the second nav bar
if( $("ul.tabbar").length ) {
$("ul.tabbar").appendTo("#topbar-second > .container > #tabmenu");
}
$("section ul.tabbar").first().appendTo("#topbar-second > .container > #tabmenu");
// add mask css url to the logo-img container
//