Use strict equalities in web/document_properties.js

This commit is contained in:
Tim van der Meij 2014-07-31 21:55:06 +02:00
parent ea85a2f7a7
commit 7ca6f0839f

View File

@ -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;
}