From 5c239aae7d403a186ae87dff553978cb906fcdf7 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 26 Aug 2015 01:30:30 -0700 Subject: [PATCH] rm unused $state param from form-control-validation mixin; fixes #17323 [skip sauce] [skip validator] --- scss/_forms.scss | 6 +++--- scss/mixins/_forms.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index 72ec9b03f9..a4600fdbf2 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -273,7 +273,7 @@ input[type="checkbox"] { // Form validation states .has-success { - @include form-control-validation(success, $brand-success); + @include form-control-validation($brand-success); .form-control-success { background-image: url($form-icon-success); @@ -281,7 +281,7 @@ input[type="checkbox"] { } .has-warning { - @include form-control-validation(warning, $brand-warning); + @include form-control-validation($brand-warning); .form-control-warning { background-image: url($form-icon-warning); @@ -289,7 +289,7 @@ input[type="checkbox"] { } .has-error { - @include form-control-validation(error, $brand-danger); + @include form-control-validation($brand-danger); .form-control-error { background-image: url($form-icon-error); diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 764c5e0835..c9f3ef1a56 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -3,7 +3,7 @@ // Used in _forms.scss to generate the form validation CSS for warnings, errors, // and successes. -@mixin form-control-validation($state, $color) { +@mixin form-control-validation($color) { // Color the label and help text .help-block, .control-label,