minor edit...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-23 00:42:27 +04:00
parent 2b790e7fd3
commit 76323cb620

View File

@ -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')