X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Ftheme.js;h=a8787a6eb5dced342fee554f28e0c3f198a75980;hb=ea1a434dc1368379d8b49dd9857823182213ab98;hp=aa6db99c15daf250bc66dfd7d3b33ebbecdf880f;hpb=3ffea2cd2cb0ed9a5283bc285e521aaf74789e80;p=friendica.git diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index aa6db99c15..a8787a6eb5 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(){ @@ -765,6 +752,7 @@ function doLikeAction(ident, verb) { $.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate ); liking = 1; force_update = true; + update_item = ident.toString(); } // Decodes a hexadecimally encoded binary string