fixed a bug

This commit is contained in:
Hidde Jansen 2012-02-07 02:12:58 +01:00
parent 6726e5b0dc
commit 3ce0ddf00c
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script src="../lib/ComicBook.min.js"></script>
<script src="../lib/ComicBook.js"></script>
<link rel="stylesheet" href="../css/reset.css">
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/smoothness/jquery-ui.css">

View file

@ -172,7 +172,7 @@ function ComicBook(id, srcs, opts) {
// add page controls
canvas.addEventListener("click", ComicBook.prototype.navigation, false);
window.addEventListener("keydown", ComicBook.prototype.navigation, false);
$(window).bind('hashchange', checkHash {});
$(window).bind('hashchange', checkHash);
}
/**