mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
minor edits...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9d3bc4ffd3
commit
c19ec9428a
10
index.html
10
index.html
@ -15,6 +15,7 @@ $(document).ready(function(){
|
||||
})
|
||||
|
||||
$('.viewer')
|
||||
//.click(toggleIndex)
|
||||
.swipe({
|
||||
swipeLeft: nextPage,
|
||||
swipeRight: prevPage,
|
||||
@ -72,6 +73,15 @@ function hideIndex(){
|
||||
$('.previews').slideUp()
|
||||
}
|
||||
|
||||
function toggleIndex(){
|
||||
if($('.previews').css('display') == 'none'){
|
||||
showIndex()
|
||||
} else {
|
||||
hideIndex()
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user