mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Add comment for migration.
This commit is contained in:
parent
eea7f90c7f
commit
2a7312836c
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ let PdfJs = {
|
|||
if (currentVersion >= VERSION) {
|
||||
return;
|
||||
}
|
||||
// Make pdf.js the default pdf viewer on the first migration.
|
||||
if (currentVersion < 2) {
|
||||
this._becomeHandler();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue