mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Small refactoring of the loadingBar hiding code
This commit is contained in:
parent
fb6d87c77b
commit
cfeb4c1019
3 changed files with 3 additions and 5 deletions
|
@ -329,7 +329,7 @@ var ProgressBar = (function ProgressBarClosure() {
|
|||
|
||||
hide: function ProgressBar_hide() {
|
||||
this.bar.classList.add('hidden');
|
||||
this.bar.removeAttribute('style');
|
||||
document.body.classList.remove('loadingInProgress');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue