aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-07-07 09:33:10 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-07-07 09:33:10 +0200
commit7397334a0105081efcb813d5e190222fc811843e (patch)
tree93cc08f3d6e91f0cbf1103b49d37b15f7a2b5951
parent5f07df462ee02ecf7c2097f7b5bb0496400c2cee (diff)
downloadsonarqube-7397334a0105081efcb813d5e190222fc811843e.tar.gz
sonarqube-7397334a0105081efcb813d5e190222fc811843e.zip
Fix quality flaw
-rw-r--r--sonar-server/src/main/js/translate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/translate.js b/sonar-server/src/main/js/translate.js
index 207b93363e4..cb10b996220 100644
--- a/sonar-server/src/main/js/translate.js
+++ b/sonar-server/src/main/js/translate.js
@@ -90,7 +90,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'));
}
});