diff --git a/index.html b/index.html index 885bcc0..8193e36 100755 --- a/index.html +++ b/index.html @@ -295,9 +295,9 @@ $(document).ready(function(){ togglePageView('on') // XXX this still depends on touchSwipe... - //setupNavigator() - setCurrentPage(0) + setupNavigator() loadMagazineChrome() + setCurrentPage(0) toggleThemes('none') diff --git a/magazine.js b/magazine.js index 2d7c3a3..a51b836 100755 --- a/magazine.js +++ b/magazine.js @@ -770,7 +770,7 @@ function setupBookmarkTouchZones(){ .attr({ title: 'Toggle bookmark (B)' }) - .on('click tap', function(){ + .on('click', function(){ toggleBookmark($(e)) }) /* diff --git a/navigator.js b/navigator.js index 1065704..642b9e7 100755 --- a/navigator.js +++ b/navigator.js @@ -113,11 +113,16 @@ function makeArticleIndicator(i, article, width){ width: width, left: width*n }) + .on('click', function(){ + setCurrentPage(n) + }) + /* .swipe({ click: function(){ setCurrentPage(n) } }) + */ return article } @@ -157,11 +162,16 @@ function makeBookmarkIndicator(n){ .attr({ page: n }) + .on('click', function(){ + setCurrentPage(n) + }) + /* .swipe({ click: function(){ setCurrentPage(n) } }) + */ return res }