mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 03:00:09 +00:00
minor stuff...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
151c98ac8e
commit
5d36a08005
@ -333,6 +333,7 @@ var toggleInlineEditor = createCSSClassToggler(
|
||||
|
||||
|
||||
|
||||
// this will set up the main editor event handlers and data...
|
||||
function setupEditor(){
|
||||
// editable focus...
|
||||
$('[contenteditable]')
|
||||
|
||||
19
index.html
19
index.html
@ -37,20 +37,9 @@
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/*
|
||||
.scroller {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
|
||||
overflow: hidden;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/* vertical */
|
||||
/* XXX this is not in the direct priorities...
|
||||
.vertical.magazine,
|
||||
.vertical.article,
|
||||
.vertical.group {
|
||||
@ -61,6 +50,7 @@
|
||||
.vertical .page {
|
||||
display: block;
|
||||
}
|
||||
*/
|
||||
|
||||
</style>
|
||||
|
||||
@ -96,8 +86,6 @@ CKEDITOR.disableAutoInline = true
|
||||
<script>
|
||||
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
// general window behavior...
|
||||
$(window)
|
||||
@ -169,7 +157,6 @@ $(document).ready(function(){
|
||||
}).start()
|
||||
|
||||
$('.viewer')
|
||||
//.on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() })
|
||||
.on('scrollCancelled', function(){ setCurrentPage() })
|
||||
.on('shortClick', handleClick)
|
||||
.on('longClick', handleLongClick)
|
||||
@ -183,8 +170,6 @@ $(document).ready(function(){
|
||||
|
||||
|
||||
|
||||
$('.viewer').css('overflow', 'hidden')
|
||||
|
||||
//loadState()
|
||||
|
||||
runMagazineTemplates()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user