Skip to content

Commit

Permalink
renamed default variable in has-layout mixin to more appropriate name…
Browse files Browse the repository at this point in the history
… $approach
  • Loading branch information
imathis authored and chriseppstein committed Nov 15, 2010
1 parent 3699065 commit 53d5496
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -8,14 +8,14 @@ $default-has-layout-approach: zoom !default;
// This mixin causes an element matching the selector
// to gain the "hasLayout" property in internet explorer.
// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
@mixin has-layout($using: $default-has-layout-approach) {
@mixin has-layout($approach: $default-has-layout-approach) {
@if $legacy-support-for-ie {
@if $using == zoom {
@include has-layout-zoom;
} @else if $using == block {
} @else if $approach == block {
@include has-layout-block;
} @else {
@warn "Unknown has-layout approach: #{$using}";
@warn "Unknown has-layout approach: #{$approach}";
@include has-layout-zoom;
}
}
Expand Down

0 comments on commit 53d5496

Please sign in to comment.