From 857bab8bcf66219bb6918d8e33e4d5b3bdd0bfa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xe=CC=81fir=20Destiny?= Date: Thu, 17 Oct 2013 11:46:33 +0200 Subject: [PATCH] A pas de S quand il n'y en as qu'un --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 4abee7e..39ba094 100644 --- a/js/app.js +++ b/js/app.js @@ -27,7 +27,7 @@ function callRequest(action, section, message) { var splitLabel = xhr.responseText.split("\n").reverse(); label.classList.remove('label-warning'); - if (splitLabel[1] !== 'nothing to commit (working directory clean)' || xhr.responseText.match(/by [0-9]* commits/)) { + if (splitLabel[1] !== 'nothing to commit (working directory clean)' || xhr.responseText.match(/by [0-9]* commit/)) { label.classList.add('label-important'); label.innerHTML = 'Update needed'; } else {