Remove total page count logging after PSPDFKit load
Refactored ui.js and ui.min.js to eliminate retrieval and logging of the total page count after loading the PSPDFKit instance. The code now returns the instance directly after setting up the page change event listener, reducing unnecessary logging and simplifying the load process.
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
console.log('Active page:', pageIndex + 1)
|
||||
})
|
||||
|
||||
const totalPages = instance.totalPageCount || 0
|
||||
console.log('All pages loaded, total pages:', totalPages)
|
||||
|
||||
return instance
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user