From f42335b8ea0641e960407a74968b19e5f78ff467 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 11 Mar 2018 17:04:09 +0100 Subject: Better management of subcategory help text --- templates/chimere/blocks/categories.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/chimere/blocks/categories.html b/templates/chimere/blocks/categories.html index f43030f..0c9f6d1 100644 --- a/templates/chimere/blocks/categories.html +++ b/templates/chimere/blocks/categories.html @@ -17,6 +17,12 @@
  • + {% if sub_category.description %} + + + {% endif %} @@ -38,6 +44,13 @@ $(function() { } chimere_init_options['checked_categories'] = null; } + + $(".subcategory").mouseenter(function() { + $(this).find(".description_icon").show(); + }).mouseleave(function() { + $(this).find(".description_icon").hide(); + }); + }); // --> -- cgit v1.2.3