From 4c32045f68655f542405b9aa0a399d2d31abe5bc Mon Sep 17 00:00:00 2001
From: rabuzarus <>
Date: Thu, 21 Apr 2016 02:37:18 +0200
Subject: [PATCH] directory page: js adds search-headding to the second nav bar

---
 js/theme.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/js/theme.js b/js/theme.js
index 8da866863..690c77418 100644
--- a/js/theme.js
+++ b/js/theme.js
@@ -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,