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(){ function setupEditor(){
// editable focus... // editable focus...
$('[contenteditable]') $('[contenteditable]')

View File

@ -37,20 +37,9 @@
transition: none; transition: none;
} }
/*
.scroller {
position: relative;
display: inline-block;
text-align: center;
width: auto;
height: 100%;
overflow: hidden;
}
*/
/* vertical */ /* vertical */
/* XXX this is not in the direct priorities...
.vertical.magazine, .vertical.magazine,
.vertical.article, .vertical.article,
.vertical.group { .vertical.group {
@ -61,6 +50,7 @@
.vertical .page { .vertical .page {
display: block; display: block;
} }
*/
</style> </style>
@ -96,8 +86,6 @@ CKEDITOR.disableAutoInline = true
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
// general window behavior... // general window behavior...
$(window) $(window)
@ -169,7 +157,6 @@ $(document).ready(function(){
}).start() }).start()
$('.viewer') $('.viewer')
//.on('scrollCancelled swipeUp swipeDown', function(){ setCurrentPage() })
.on('scrollCancelled', function(){ setCurrentPage() }) .on('scrollCancelled', function(){ setCurrentPage() })
.on('shortClick', handleClick) .on('shortClick', handleClick)
.on('longClick', handleLongClick) .on('longClick', handleLongClick)
@ -183,8 +170,6 @@ $(document).ready(function(){
$('.viewer').css('overflow', 'hidden')
//loadState() //loadState()
runMagazineTemplates() runMagazineTemplates()