From 7ca6f0839f0f032684c38b90633c1947ecdd9756 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Thu, 31 Jul 2014 21:55:06 +0200 Subject: [PATCH] Use strict equalities in web/document_properties.js --- web/document_properties.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/document_properties.js b/web/document_properties.js index e0161fefe..eefbc0e1c 100644 --- a/web/document_properties.js +++ b/web/document_properties.js @@ -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; }