minor stuff...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-03-05 03:55:14 +04:00
parent 151c98ac8e
commit 5d36a08005
2 changed files with 3 additions and 17 deletions

View File

@ -333,6 +333,7 @@ var toggleInlineEditor = createCSSClassToggler(
// this will set up the main editor event handlers and data...
function setupEditor(){
// editable focus...
$('[contenteditable]')

View File

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