mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Use strict equalities in web/document_properties.js
This commit is contained in:
parent
ea85a2f7a7
commit
7ca6f0839f
1 changed files with 2 additions and 2 deletions
|
@ -171,10 +171,10 @@ var DocumentProperties = {
|
|||
|
||||
// As per spec, utRel = 'Z' means equal to universal time.
|
||||
// The other cases ('-' and '+') have to be handled here.
|
||||
if (utRel == '-') {
|
||||
if (utRel === '-') {
|
||||
hours += offsetHours;
|
||||
minutes += offsetMinutes;
|
||||
} else if (utRel == '+') {
|
||||
} else if (utRel === '+') {
|
||||
hours -= offsetHours;
|
||||
minutes += offsetMinutes;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue