more minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-02-04 00:46:36 +04:00
parent 5e7f8ce9fd
commit 3a0a4086df
3 changed files with 13 additions and 3 deletions

View File

@ -295,9 +295,9 @@ $(document).ready(function(){
togglePageView('on') togglePageView('on')
// XXX this still depends on touchSwipe... // XXX this still depends on touchSwipe...
//setupNavigator() setupNavigator()
setCurrentPage(0)
loadMagazineChrome() loadMagazineChrome()
setCurrentPage(0)
toggleThemes('none') toggleThemes('none')

View File

@ -770,7 +770,7 @@ function setupBookmarkTouchZones(){
.attr({ .attr({
title: 'Toggle bookmark (B)' title: 'Toggle bookmark (B)'
}) })
.on('click tap', function(){ .on('click', function(){
toggleBookmark($(e)) toggleBookmark($(e))
}) })
/* /*

View File

@ -113,11 +113,16 @@ function makeArticleIndicator(i, article, width){
width: width, width: width,
left: width*n left: width*n
}) })
.on('click', function(){
setCurrentPage(n)
})
/*
.swipe({ .swipe({
click: function(){ click: function(){
setCurrentPage(n) setCurrentPage(n)
} }
}) })
*/
return article return article
} }
@ -157,11 +162,16 @@ function makeBookmarkIndicator(n){
.attr({ .attr({
page: n page: n
}) })
.on('click', function(){
setCurrentPage(n)
})
/*
.swipe({ .swipe({
click: function(){ click: function(){
setCurrentPage(n) setCurrentPage(n)
} }
}) })
*/
return res return res
} }