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')
// XXX this still depends on touchSwipe...
//setupNavigator()
setCurrentPage(0)
setupNavigator()
loadMagazineChrome()
setCurrentPage(0)
toggleThemes('none')

View File

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

View File

@ -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
}