From 9f80e3eb813f6a88884b3a2c47f9503f964e9243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Wed, 21 Aug 2019 23:56:50 +0200 Subject: [PATCH] Fix tooltips --- app/templates/base.html | 1 + app/templates/main_admin.html | 15 +++++++++++---- app/templates/songlist.html | 13 +++++++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index fa1c335..86fa7e1 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -103,6 +103,7 @@ // get current URL path and assign 'active' class var pathname = window.location.pathname; $('.navbar-nav > li > a[href="' + pathname + '"]').parent().addClass('active'); + $('[data-toggle="tooltip"]').tooltip() }) diff --git a/app/templates/main_admin.html b/app/templates/main_admin.html index 52cd764..486db31 100644 --- a/app/templates/main_admin.html +++ b/app/templates/main_admin.html @@ -41,11 +41,13 @@ {% block extrajs %}