mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 03:00:09 +00:00
more testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3d50eff49a
commit
f45e12bedb
@ -149,7 +149,7 @@ $(document).ready(function(){
|
||||
|
||||
// XXX for some reason this does not work correctly on android the
|
||||
// first time...
|
||||
togglePageView('on')
|
||||
//togglePageView('on')
|
||||
})
|
||||
|
||||
|
||||
|
||||
@ -64,11 +64,12 @@ function handleClick(evt, data){
|
||||
: target.parents('.page'))
|
||||
if(target != -1){
|
||||
var mag = $('.magazine')
|
||||
setTransitionDuration(mag, DEFAULT_TRANSITION_DURATION)
|
||||
setTransitionEasing(mag, 'ease')
|
||||
|
||||
togglePageView()
|
||||
setCurrentPage(target)
|
||||
|
||||
setTransitionDuration(mag, DEFAULT_TRANSITION_DURATION)
|
||||
setTransitionEasing(mag, 'ease')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user