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')
|
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')
|
||||||
|
|
||||||
|
|||||||
@ -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))
|
||||||
})
|
})
|
||||||
/*
|
/*
|
||||||
|
|||||||
10
navigator.js
10
navigator.js
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user