minor tweeks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-03-03 03:20:28 +04:00
parent ccd7e6ecfa
commit 45b1d6a6cd

View File

@ -245,6 +245,17 @@ function setupEditor(){
})
window.toggleEditor = createCSSClassToggler(
'.chrome',
'editor',
function(){
setTransitionDuration($('.magazine'), 0)
},
function(){
setCurrentPage($('.current.page'))
})
// move the page indicator...
// NOTE: this is to be used for page-specific toolbars etc.
$('.viewer')
@ -263,19 +274,12 @@ function setupEditor(){
})
})
}
function clearEditor(){
$('.current-page-indicator').children().remove()
}
var toggleEditor = createCSSClassToggler(
'.chrome',
'editor',
function(){
setTransitionDuration($('.magazine'), 0)
},
function(){
setCurrentPage($('.current.page'))
})
$(document).ready(function(){