From 7f1acdb8e9204f6e899ebab60d7a401f9a09da04 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 3 Feb 2017 19:37:47 +0100 Subject: [PATCH] frio - append tabbar to nav only if it's a direct child of section --- view/theme/frio/js/theme.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 //