More design changes.

This commit is contained in:
Lars Jung 2012-02-22 23:47:05 +01:00
parent 556d206ab8
commit f1175f5149
7 changed files with 81 additions and 38 deletions

View file

@ -49,6 +49,7 @@
if ($ul.children(".entry:not(.folder-parent)").size() === 0) {
$("#extended").append($("<div class='empty l10n-empty'>empty</div>"));
}
$("#extended").append($("<div class='no-match l10n-noMatch'>no match</div>"));
},
customize = function () {

View file

@ -23,6 +23,14 @@
match = $('#extended .entry');
}
if ($(match).length) {
$('#extended .no-match').hide();
} else {
setTimeout(function () {
$('#extended .no-match').show();
}, 200);
}
$(match).fadeIn(200);
$(noMatch).fadeOut(200);
},
@ -84,7 +92,6 @@
.end()
.appendTo($("#navbar"));
}
};