From 96c854e5fc541933b2b3e6b8d1885e69953f5995 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 19 Apr 2016 02:58:33 +0200 Subject: [PATCH] add tooltips to the top nav menu --- js/theme.js | 11 +++++++++++ templates/nav.tpl | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 11 deletions(-) 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 @@