Refactor Presentation Mode code
This commit is contained in:
parent
e2f44361f5
commit
d795c8ec14
2 changed files with 56 additions and 58 deletions
|
@ -147,6 +147,10 @@ var PDFView = {
|
|||
passwordCancel: document.getElementById('passwordCancel')
|
||||
});
|
||||
|
||||
PresentationMode.initialize({
|
||||
container: container
|
||||
});
|
||||
|
||||
this.initialized = true;
|
||||
container.addEventListener('scroll', function() {
|
||||
self.lastScroll = Date.now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue