From 396c1f3d5fbae31d0b12c39dc54223649ee6bdbc Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sat, 25 Apr 2020 23:35:01 +0200 Subject: [PATCH] added tooltips to recipe view --- cookbook/templates/recipe_view.html | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index 71381f89..eff5a7f1 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -52,17 +52,23 @@ class="fas fa-pencil-alt">
- {% if ingredients %} - {% endif %} - - -
@@ -384,5 +390,9 @@ } } + $(function () { + $('[data-toggle="tooltip"]').tooltip() + }) + {% endblock %} \ No newline at end of file