From 3a0a4086dfeff4f6ebc5de16b56ebb2389a0d404 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 4 Feb 2014 00:46:36 +0400 Subject: [PATCH] more minor fixes... Signed-off-by: Alex A. Naanou --- index.html | 4 ++-- magazine.js | 2 +- navigator.js | 10 ++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) 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 }