diff --git a/awx/ui/static/js/helpers/Schedules.js b/awx/ui/static/js/helpers/Schedules.js index 8d7efceb60..409ca5287d 100644 --- a/awx/ui/static/js/helpers/Schedules.js +++ b/awx/ui/static/js/helpers/Schedules.js @@ -523,11 +523,11 @@ angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelpe } itm.nameTip = item.name; // include the word schedule if the schedule name does not include the word schedule - if (item.name.indexOf("schedule") == -1 && item.name.indexOf("Schedule") == -1) { + if (item.name.indexOf("schedule") === -1 && item.name.indexOf("Schedule") === -1) { itm.nameTip += " schedule"; } - itm.nameTip += " for " - if (job.name.indexOf("job") == -1 && job.name.indexOf("Job") == -1) { + itm.nameTip += " for "; + if (job.name.indexOf("job") === -1 && job.name.indexOf("Job") === -1) { itm.nameTip += "job "; } itm.nameTip += job.name; diff --git a/awx/ui/static/lib/ansible/directives.js b/awx/ui/static/lib/ansible/directives.js index 25d66279eb..39d328d0b0 100644 --- a/awx/ui/static/lib/ansible/directives.js +++ b/awx/ui/static/lib/ansible/directives.js @@ -470,8 +470,8 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job container: 'body', trigger: 'hover focus' }); - } - } + } + }; }]) /*