hide toolbar in the right place

This commit is contained in:
Bala Clark 2011-09-06 15:30:51 +02:00
parent d0b90f9ca3
commit b6ce29bfd0

View file

@ -183,7 +183,6 @@ function ComicBook(id, srcs, opts) {
.addClass("cb-control cb-always-on"),
toolbar: $(document.createElement("div"))
.hide()
.attr("id", "cb-toolbar")
.addClass("cb-control")
.append(
@ -317,7 +316,7 @@ function ComicBook(id, srcs, opts) {
$(canvas)
.before(this.getControl("loadingOverlay"))
.before(this.getControl("status"))
.after(this.getControl("toolbar"))
.after(this.getControl("toolbar").hide())
.after(this.getControl("navigation").left)
.after(this.getControl("navigation").right)
.after(this.getControl("color").hide());