Skip to content

Commit

Permalink
unitstrip hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Black Mirror committed Jul 12, 2018
1 parent 0e7d65c commit 865c5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/types/_number.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/// @param {number} $n - the something ;-)
/// @return {number} - the something unitstripped ;-)
@function unitstrip($n) {
@if is-number($n) == 'number' and not unitless($n) {
@if is-number($n) and not unitless($n) {
@return $n / ($n * 0 + 1);
}

Expand Down

0 comments on commit 865c5e3

Please sign in to comment.