From dd9351b22671ae72a3cf1338c6add458c9c4ac30 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Thu, 9 Jun 2016 12:25:39 -0400 Subject: [PATCH] jshint --- awx/ui/client/src/helpers/Jobs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/helpers/Jobs.js b/awx/ui/client/src/helpers/Jobs.js index e883455d30..30cc910366 100644 --- a/awx/ui/client/src/helpers/Jobs.js +++ b/awx/ui/client/src/helpers/Jobs.js @@ -346,7 +346,7 @@ export default .error(function(obj, status) { Wait('stop'); $('#prompt-modal').modal('hide'); - if (status == 403) { + if (status === 403) { Alert('Error', obj.detail); } // Ignore the error. The job most likely already finished. @@ -367,7 +367,7 @@ export default .error(function (obj, status) { Wait('stop'); $('#prompt-modal').modal('hide'); - if (status == 403) { + if (status === 403) { Alert('Error', obj.detail); } // Ignore the error. The job most likely already finished.