mirror of
https://github.com/flynx/PortableMag.git
synced 2025-12-23 12:01:48 +00:00
minor edit...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2b790e7fd3
commit
76323cb620
16
index.html
16
index.html
@ -8,6 +8,8 @@
|
||||
|
||||
<script>
|
||||
|
||||
var DEBUG = true
|
||||
|
||||
var USE_URLS = true
|
||||
|
||||
/* this is needed only for live resize... */
|
||||
@ -512,6 +514,14 @@ function createPage(article, template){
|
||||
<script>
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
if(DEBUG){
|
||||
$('.splash').click(function(){
|
||||
$('.splash').fadeOut()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
$(window)
|
||||
.resize(function() {
|
||||
fitNPages(PAGES_VISIBLE)
|
||||
@ -548,12 +558,6 @@ $(document).ready(function(){
|
||||
$('.button.next-article').swipe({click: nextArticle})
|
||||
$('.button.prev-article').swipe({click: prevArticle})
|
||||
|
||||
// XXX STUB: for device debugging reasons...
|
||||
$('.splash').click(function(){
|
||||
$('.splash').fadeOut()
|
||||
})
|
||||
|
||||
|
||||
loadState()
|
||||
|
||||
togglePageView('on')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user