mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
fixing jshint warning
unused params don't need to be included `
This commit is contained in:
parent
41b4a66640
commit
614fe8e3fd
@ -154,7 +154,7 @@ export default
|
||||
|
||||
// this is a work-around for getting awMax to work (without
|
||||
// clearing out the form)
|
||||
scope.$watch('days_to_keep', function(newVal, oldVal, scope) {
|
||||
scope.$watch('days_to_keep', function(newVal) { // oldVal, scope) { // unused params get caught by jshint
|
||||
if (!newVal) {
|
||||
$('#prompt-for-days-launch').prop("disabled", true);
|
||||
} else if (isNaN(newVal)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user