fixed broken desaturate button
This commit is contained in:
parent
bd719688de
commit
3c14fa09fc
1 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ function ComicBook(id, srcs, opts) {
|
|||
ComicBook.prototype.enhance.sharpen({ amount: ui.value });
|
||||
}
|
||||
}))
|
||||
.append("<input type='checkbox' id='cb-desaturate' /> <label for='desaturate'>Desaturate</label>")
|
||||
.append("<input type='checkbox' id='cb-desaturate' /> <label for='cb-desaturate'>Desaturate</label>")
|
||||
.append("<button id='reset' style='display:block'>reset</button>")
|
||||
.css({
|
||||
position: "absolute",
|
||||
|
@ -288,7 +288,7 @@ function ComicBook(id, srcs, opts) {
|
|||
.after(this.getControl("navigation").right)
|
||||
.after(this.getControl("color").hide());
|
||||
|
||||
$("#desaturate").click(function(){
|
||||
$("#cb-desaturate").click(function(){
|
||||
if ($(this).is(":checked")) {
|
||||
ComicBook.prototype.enhance.desaturate();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue