mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-26 18:10:30 +00:00
Code cosmetics
This commit is contained in:
parent
2fbb7466d3
commit
16453a05f8
@ -64,7 +64,7 @@ $("#all").click(function() {
|
|||||||
$(".char").click(function() {
|
$(".char").click(function() {
|
||||||
var character = this.innerText;
|
var character = this.innerText;
|
||||||
$list.isotope({ filter: function() {
|
$list.isotope({ filter: function() {
|
||||||
return this.attributes["data-id"].value.charAt(0).toUpperCase() == character;
|
return this.attributes["data-id"].value.charAt(0).toUpperCase() === character;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -55,7 +55,7 @@ $(document).on("change", "select[data-control]", function() {
|
|||||||
$(document).on("change", "select[data-controlall]", function() {
|
$(document).on("change", "select[data-controlall]", function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var name = $this.data("controlall");
|
var name = $this.data("controlall");
|
||||||
var showOrHide = parseInt($this.val());
|
var showOrHide = parseInt($this.val(), 10);
|
||||||
if (showOrHide) {
|
if (showOrHide) {
|
||||||
$("[data-related=" + name + "]").show();
|
$("[data-related=" + name + "]").show();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user