From: rabuzarus <> Date: Tue, 19 Apr 2016 00:58:33 +0000 (+0200) Subject: add tooltips to the top nav menu X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96c854e5fc541933b2b3e6b8d1885e69953f5995;p=friendica.git add tooltips to the top nav menu --- diff --git a/js/theme.js b/js/theme.js index 58fca68c89..8da8668630 100644 --- a/js/theme.js +++ b/js/theme.js @@ -53,6 +53,17 @@ $(document).ready(function(){ if( $("#jot-popup").is(":hidden")) $("#topbar-second > .container > #navbar-button #jotOpen").hide(); } + // initialize the bootstrap tooltips + $('[data-toggle="tooltip"]').tooltip({ + animation: true, + html: true, + placement: 'auto', + delay: { + show: 500, + hide: 100 + } + }); + // Loading remote bootstrap remote modals // This is uses to load tradional friendica pages into bootstrap modals // diff --git a/templates/nav.tpl b/templates/nav.tpl index 9beebf1a53..46f08809ad 100644 --- a/templates/nav.tpl +++ b/templates/nav.tpl @@ -37,36 +37,36 @@