mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Enable a couple of return
related ESLint rules
Please find additional details at: - https://eslint.org/docs/rules/no-return-await - https://eslint.org/docs/rules/no-useless-return
This commit is contained in:
parent
c289f3a969
commit
b822356c03
2 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,6 @@ window.addEventListener('keydown', function(event) {
|
|||
} else {
|
||||
event.stopPropagation();
|
||||
}
|
||||
return;
|
||||
}
|
||||
}, true);
|
||||
if (hasAttachEvent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue