fit width button

This commit is contained in:
Bala Clark 2011-09-02 20:30:57 +02:00
parent 7760c0470e
commit a8b72623bb

View file

@ -189,6 +189,14 @@ function ComicBook(id, srcs, opts) {
ComicBook.prototype.zoom(scale + 0.1);
})
)
.append(
$(document.createElement("button"))
.text("fit width")
.click(function(){
options.zoomMode = "fitWidth"
ComicBook.prototype.drawPage();
})
)
.append("<p id='cb-status'></p>"),
/**