mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Move sidebar open class.
This commit is contained in:
parent
e0aa43af37
commit
c4189b46f3
3 changed files with 7 additions and 7 deletions
|
@ -1342,8 +1342,8 @@ window.addEventListener('load', function webViewerLoad(evt) {
|
|||
document.getElementById('sidebarToggle').addEventListener('click',
|
||||
function() {
|
||||
this.classList.toggle('toggled');
|
||||
document.getElementById('sidebarContainer').classList.toggle('hidden');
|
||||
mainContainer.classList.toggle('sideBarOpen');
|
||||
console.log('toggling');
|
||||
document.getElementById('outerContainer').classList.toggle('sidebarOpen');
|
||||
updateThumbViewArea();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue