mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 19:20:09 +00:00
minor updates...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
31c8f3b5e9
commit
3263df26e4
@ -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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user