From: rabuzarus <> Date: Fri, 3 Feb 2017 18:37:47 +0000 (+0100) Subject: frio - append tabbar to nav only if it's a direct child of section X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f1acdb8e9204f6e899ebab60d7a401f9a09da04;p=friendica.git frio - append tabbar to nav only if it's a direct child of section --- diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 51e390b34c..c149271804 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -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 //