mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Use strict equalities in make.js, external/* and extensions/*
This commit is contained in:
parent
00eea3ddb9
commit
c29faaa22d
4 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ function isPdfDownloadable(details) {
|
|||
}
|
||||
// Display the PDF viewer regardless of the Content-Disposition header
|
||||
// if the file is displayed in the main frame.
|
||||
if (details.type == 'main_frame') {
|
||||
if (details.type === 'main_frame') {
|
||||
return false;
|
||||
}
|
||||
var cdHeader = (details.responseHeaders &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue