diff --git a/lib/ComicBook.js b/lib/ComicBook.js index dd73def..70a8505 100755 --- a/lib/ComicBook.js +++ b/lib/ComicBook.js @@ -5,8 +5,7 @@ Fo sho: - create onclose callback, show close button only if set - _ fix progress bar css - - only trigger navigate event on page change (not resize, etc.) + - fix progress bar css - fix manga mode - trigger preload if requesting valid but not loaded images (can happen if network was interupted) - loading and generally hackiness of pointer is buggy, fix. @@ -23,7 +22,7 @@ - refactor so we are not using all these loose shared variables and other nastyness - use custom event emitters instead of hacky code - properly bind 'this' so we don't have to keep using 'self' - - allow toolbar to be sticky + - allow toolbar to be hidden on mobile (maybe show a small translucent button that opens the toolbar when clicked) */ var ComicBook = (function ($) { @@ -577,7 +576,9 @@ var ComicBook = (function ($) { $('.navigate-right').hide(); } - $(this).trigger('navigate'); + if (pointer !== getHash()){ + $(this).trigger('navigate'); + } // update hash location if (getHash() !== pointer) {