Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify checking for optional parameter in button addon

  • Loading branch information...
commit 28ad202a7e9b44689cf5ba83523ed5c202db626a 1 parent cc02287
Chad Mazzola authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  app/assets/addons/_button.scss
View
3  app/assets/addons/_button.scss
@@ -1,7 +1,6 @@
@mixin button ($style: simple, $base-color: #4294f0) {
- $pos-type: type-of($style);
- @if $pos-type == color {
+ @if type-of($style) == color {
$base-color: $style;
$style: simple;
}
Please sign in to comment.
Something went wrong with that request. Please try again.