...
|
...
|
@@ -17,6 +17,7 @@ var $icon = $('.search-icon'); |
|
|
var $form = $('#search-form');
|
|
|
|
|
|
var $history = $('.history');
|
|
|
var $historySearch = $('.history-search');
|
|
|
|
|
|
var $clearHistory = $('#clear-history');
|
|
|
|
...
|
...
|
@@ -31,6 +32,8 @@ chHammer.on('tap', function() { |
|
|
localStorage.removeItem('historys');
|
|
|
|
|
|
$history.html('');
|
|
|
$historySearch.hide();
|
|
|
$clearHistory.hide();
|
|
|
|
|
|
window.rePosFooter();
|
|
|
});
|
...
|
...
|
@@ -80,7 +83,7 @@ $('#search').on('touchend', function() { |
|
|
|
|
|
$history.html(html);
|
|
|
$clearHistory.removeClass('hide');
|
|
|
|
|
|
$historySearch.removeClass('hide');
|
|
|
window.rePosFooter();
|
|
|
}
|
|
|
}
|
...
|
...
|
|