mirror of
https://github.com/flynx/PortableMag.git
synced 2025-11-02 04:50:12 +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
|
// XXX for some reason this does not work correctly on android the
|
||||||
// first time...
|
// first time...
|
||||||
togglePageView('on')
|
//togglePageView('on')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -64,11 +64,12 @@ function handleClick(evt, data){
|
|||||||
: target.parents('.page'))
|
: target.parents('.page'))
|
||||||
if(target != -1){
|
if(target != -1){
|
||||||
var mag = $('.magazine')
|
var mag = $('.magazine')
|
||||||
setTransitionDuration(mag, DEFAULT_TRANSITION_DURATION)
|
|
||||||
setTransitionEasing(mag, 'ease')
|
|
||||||
|
|
||||||
togglePageView()
|
togglePageView()
|
||||||
setCurrentPage(target)
|
setCurrentPage(target)
|
||||||
|
|
||||||
|
setTransitionDuration(mag, DEFAULT_TRANSITION_DURATION)
|
||||||
|
setTransitionEasing(mag, 'ease')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user