Merge pull request #1355 from wallabag/v2-clear-button

clean -> clear
This commit is contained in:
Jeremy Benoist 2015-08-17 23:22:24 +02:00
commit fac3f8abfa
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@
</div> </div>
<div class="col s6"> <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>
<div class="col s6"> <div class="col s6">

View file

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