minor updates...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-07 01:31:45 +04:00
parent 31c8f3b5e9
commit 3263df26e4

View File

@ -415,6 +415,7 @@ function fitNPages(n, fit_to_content){
if(!USE_REAL_PAGE_SIZES && fit_to_content){ if(!USE_REAL_PAGE_SIZES && fit_to_content){
var offset = rW * getPageNumber()-1 var offset = rW * getPageNumber()-1
} else { } else {
console.log('slow...')
// calculate the target offset... // calculate the target offset...
if(USE_REAL_PAGE_SIZES){ if(USE_REAL_PAGE_SIZES){
var rpages = $('.page:not(.no-resize), .current.page') var rpages = $('.page:not(.no-resize), .current.page')