mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Hide filter input field if no filter is set.
This commit is contained in:
parent
bfebcb3bcd
commit
556d206ab8
3 changed files with 9 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
init = function () {
|
||||
|
||||
if (H5AI.core.settings.showFilter) {
|
||||
$("<li id='filter'><span class='element'><img alt='filter' /><input type='text' value='' placeholder='Filter' /></span></li>")
|
||||
$("<li id='filter'><span class='element'><img alt='filter' /><input type='text' value='' placeholder='filter' /></span></li>")
|
||||
.on('click', function () {
|
||||
|
||||
var $input = $(this).find('input');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue