mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +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.
|
// As per spec, utRel = 'Z' means equal to universal time.
|
||||||
// The other cases ('-' and '+') have to be handled here.
|
// The other cases ('-' and '+') have to be handled here.
|
||||||
if (utRel == '-') {
|
if (utRel === '-') {
|
||||||
hours += offsetHours;
|
hours += offsetHours;
|
||||||
minutes += offsetMinutes;
|
minutes += offsetMinutes;
|
||||||
} else if (utRel == '+') {
|
} else if (utRel === '+') {
|
||||||
hours -= offsetHours;
|
hours -= offsetHours;
|
||||||
minutes += offsetMinutes;
|
minutes += offsetMinutes;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue