diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index 1c651d1eb72c9f4389bf26d0eb7a5f29985752a4..fff9cb560f69cb66cc1e502716f60bb267db40cb 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -40,9 +40,7 @@
 .input-group-addon,
 .input-group-btn,
 .input-group .form-control {
-  @if $enable-flex {
-    // do nothing
-  } @else {
+  @if not $enable-flex {
     display: table-cell;
   }
 
@@ -53,9 +51,7 @@
 
 .input-group-addon,
 .input-group-btn {
-  @if $enable-flex {
-    // do nothing
-  } @else {
+  @if not $enable-flex {
     width: 1%;
   }
   white-space: nowrap;