File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ $(".lazy").lazy({
6
6
} ) ;
7
7
$ ( '[data-toggle="tooltip"]' ) . tooltip ( ) ;
8
8
9
- var taxonDomElem = Array . from ( document . querySelectorAll ( "#taxonList li" ) )
10
9
11
10
$ ( document ) . ready ( function ( ) {
11
+
12
+ var taxonDomElem = Array . from ( document . querySelectorAll ( "#taxonList li" ) )
13
+
12
14
function filterListeEspèces ( ) {
13
15
let name = document . querySelector ( "#taxonInput" ) . value . toLowerCase ( ) ;
14
16
let onlyProtégées = document . querySelector ( "#filtreProtégées" ) . checked ;
@@ -28,4 +30,4 @@ $(document).ready(function(){
28
30
document . querySelectorAll ( "#filtresListeEspèces input" ) . forEach (
29
31
( element ) => element . addEventListener ( "input" , filterListeEspèces )
30
32
)
31
- } ) ;
33
+ } ) ;
Original file line number Diff line number Diff line change 36
36
{% if config.DISPLAY_PATRIMONIALITE %}
37
37
< div class ="custom-control custom-switch ">
38
38
< input id ="filtrePatrimoniales " name ="filtrePatrimoniales " type ="checkbox " class ="custom-control-input " />
39
- < label for ="filtrePatrimoniales " class ="custom-control-label "> {{ _("espèces.%(label_patrimonialite)s.uniquement", label_patrimonialite=config.PATRIMONIALITE.label_pluriel)|lower }}</ label >
39
+ < label for ="filtrePatrimoniales " class ="custom-control-label "> {{ _("espèces.%(label_patrimonialite)s.uniquement", label_patrimonialite=config.PATRIMONIALITE.label_pluriel)|lower|capitalize }}</ label >
40
40
</ div >
41
41
{% endif %}
42
42
</ div >
You can’t perform that action at this time.
0 commit comments