Hide filter input field if no filter is set.

This commit is contained in:
Lars Jung 2012-02-22 13:18:46 +01:00
parent bfebcb3bcd
commit 556d206ab8
3 changed files with 9 additions and 1 deletions

View file

@ -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');