1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 22:33:01 +00:00

Code cosmetics

This commit is contained in:
Ozzie Isaacs
2021-03-14 15:18:45 +01:00
parent 22c93e2389
commit 3c35f02cac
2 changed files with 85 additions and 86 deletions

View File

@@ -56,15 +56,15 @@ $("#asc").click(function() {
$("#all").click(function() {
// go through all elements and make them visible
$list.isotope({ filter: function() {
return true;
}
return true;
}
});
});
$(".char").click(function() {
var character = this.innerText;
$list.isotope({ filter: function() {
return this.attributes["data-id"].value.charAt(0).toUpperCase() == character;
return this.attributes["data-id"].value.charAt(0).toUpperCase() == character;
}
});
});