mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-28 10:40:07 +00:00
more minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5e7f8ce9fd
commit
3a0a4086df
@ -295,9 +295,9 @@ $(document).ready(function(){
|
||||
|
||||
togglePageView('on')
|
||||
// XXX this still depends on touchSwipe...
|
||||
//setupNavigator()
|
||||
setCurrentPage(0)
|
||||
setupNavigator()
|
||||
loadMagazineChrome()
|
||||
setCurrentPage(0)
|
||||
|
||||
toggleThemes('none')
|
||||
|
||||
|
||||
@ -770,7 +770,7 @@ function setupBookmarkTouchZones(){
|
||||
.attr({
|
||||
title: 'Toggle bookmark (B)'
|
||||
})
|
||||
.on('click tap', function(){
|
||||
.on('click', function(){
|
||||
toggleBookmark($(e))
|
||||
})
|
||||
/*
|
||||
|
||||
10
navigator.js
10
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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user