]> git.mxchange.org Git - friendica.git/commitdiff
directory page: js adds search-headding to the second nav bar
authorrabuzarus <>
Thu, 21 Apr 2016 00:37:18 +0000 (02:37 +0200)
committerrabuzarus <>
Thu, 21 Apr 2016 00:37:18 +0000 (02:37 +0200)
js/theme.js

index 8da86686302e34e98adaddc621eb1c828e68d8c7..690c7741864d3ae6ce1b4dbe62e2def560d6e7e8 100644 (file)
@@ -53,6 +53,11 @@ $(document).ready(function(){
                if( $("#jot-popup").is(":hidden")) $("#topbar-second > .container > #navbar-button #jotOpen").hide();
        }
 
+       // add search-headding to the scecond navbar
+       if( $(".search-headding")) {
+               $(".search-headding").appendTo("#topbar-second > .container > #tabmenu");
+       }
+
        // initialize the bootstrap tooltips
        $('[data-toggle="tooltip"]').tooltip({
                animation: true,