Permalink
Browse files

Simplify checking for optional parameter in button addon

  • Loading branch information...
1 parent cc02287 commit 28ad202a7e9b44689cf5ba83523ed5c202db626a Chad Mazzola committed Jul 3, 2011
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;
}

0 comments on commit 28ad202

Please sign in to comment.