mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
JSHint errors.
cleaned up some errors from jmitchell
This commit is contained in:
parent
c02e5ffa41
commit
b530538b03
@ -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;
|
||||
|
@ -471,7 +471,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
||||
trigger: 'hover focus'
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
}])
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user