From: Michael Date: Thu, 4 Jan 2018 13:08:38 +0000 (+0000) Subject: Removed now unused JS X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e8bde5730df2da7694adce80f8f602c9d59aefe;p=friendica.git Removed now unused JS --- diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index aa6db99c15..819a7c75c3 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -206,19 +206,6 @@ $(document).ready(function(){ $("#topbar-second > .container > #tabmenu").append(newText); } - if( $(".global-content-wrapper").length) { - // get the heading element - var heading = $(".global-content-wrapper > h3").first(); - // get the text of the heading - var headingContent = heading.text(); - // create a new element with the content of the heading - var newText = '

'+headingContent+'

'; - // remove the old heading element - heading.remove(), - // put the new element to the second nav bar - $("#topbar-second > .container > #tabmenu").append(newText); - } - // Dropdown menus with the class "dropdown-head" will display the active tab // as button text $("body").on('click', '.dropdown-head .dropdown-menu li a, .dropdown-head .dropdown-menu li button', function(){