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.