From 557db7be44ec049f777c7705eace34f2486a93c6 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 11 Jul 2014 12:42:14 +0600 Subject: karma tests --- server/sonar-web/src/main/js/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web/src/main/js/translate.js') diff --git a/server/sonar-web/src/main/js/translate.js b/server/sonar-web/src/main/js/translate.js index c86d28c09ef..e6fd9b2f16a 100644 --- a/server/sonar-web/src/main/js/translate.js +++ b/server/sonar-web/src/main/js/translate.js @@ -94,7 +94,7 @@ window.messages = bundle; localStorage.setItem('l10n.bundle', JSON.stringify(bundle)); - } else if (jqXHR.status == 304) { + } else if (jqXHR.status === 304) { window.messages = JSON.parse(localStorage.getItem('l10n.bundle')); } }); -- cgit v1.2.3