clean -> clear

This commit is contained in:
Nicolas Lœuillet 2015-08-17 20:12:11 +02:00
parent 925d8ab316
commit 5f246a5543
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@
</div>
<div class="col s6">
<a href="#!" class="center waves-effect waves-green btn-flat" id="clean_form_filters">{% trans %}Clean{% endtrans %}</a>
<a href="#!" class="center waves-effect waves-green btn-flat" id="clear_form_filters">{% trans %}Clear{% endtrans %}</a>
</div>
<div class="col s6">

View file

@ -3,7 +3,7 @@ function init_filters() {
if ($("div").is("#filters")) {
$('#button_filters').show();
$('.button-collapse-right').sideNav({ edge: 'right' });
$('#clean_form_filters').on('click', function(){
$('#clear_form_filters').on('click', function(){
$('#filters input').val('');
return false;
});