diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-27 16:12:07 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-27 16:14:52 +0200 |
| commit | 13f37c70772f9dd6035d5656fa7a862c107aa217 (patch) | |
| tree | 51b2f33eb10cfce60a9e2fd0e87bd41f1bc3d7ea /chimere/templates | |
| parent | 05c0b37789a08faf212f90dbd55e50cbca47e8e9 (diff) | |
| download | Chimère-13f37c70772f9dd6035d5656fa7a862c107aa217.tar.bz2 Chimère-13f37c70772f9dd6035d5656fa7a862c107aa217.zip | |
Always display help icon on category
Diffstat (limited to 'chimere/templates')
| -rw-r--r-- | chimere/templates/chimere/blocks/categories.html | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/chimere/templates/chimere/blocks/categories.html b/chimere/templates/chimere/blocks/categories.html index cf13404..9234b31 100644 --- a/chimere/templates/chimere/blocks/categories.html +++ b/chimere/templates/chimere/blocks/categories.html @@ -31,14 +31,14 @@ <img src="{{sub_category.icon.image.url}}"> {% endif %} </div> - {% if sub_category.description %} - <a href="#"><i class="description_icon fa fa-info-circle" - aria-hidden="true" - onclick="$('#map').chimere('subcategory_detail', {{sub_category.id}});"></i> - </a> - {% endif %} <label for='category_{{sub_category.id}}'> {% trans sub_category.name %} + {% if sub_category.description %} + <a href="#"><i class="description_icon fa fa-info-circle" + aria-hidden="true" + onclick="$('#map').chimere('subcategory_detail', {{sub_category.id}});"></i> + </a> + {% endif %} </label> <input type='checkbox' name='category_{{sub_category.id}}' id='category_{{sub_category.id}}'{% if sub_category.selected %} checked='checked'{% endif %}/> </span> @@ -58,17 +58,6 @@ $(function() { } chimere_init_options['checked_categories'] = null; } - - $(".subcategory").mouseenter(function() { - if ($("#switch-menu").not(':visible').length){ - $(this).find(".description_icon").show(); - } - }).mouseleave(function() { - if ($("#switch-menu").not(':visible').length){ - $(this).find(".description_icon").hide(); - } - }); - }); // --> </script> |
