mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 17:51:06 -03:30
fixing jshint warning
unused params don't need to be included `
This commit is contained in:
@@ -154,7 +154,7 @@ export default
|
|||||||
|
|
||||||
// this is a work-around for getting awMax to work (without
|
// this is a work-around for getting awMax to work (without
|
||||||
// clearing out the form)
|
// 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) {
|
if (!newVal) {
|
||||||
$('#prompt-for-days-launch').prop("disabled", true);
|
$('#prompt-for-days-launch').prop("disabled", true);
|
||||||
} else if (isNaN(newVal)) {
|
} else if (isNaN(newVal)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user