diff options
Diffstat (limited to 'src/_contexts.scss')
| -rw-r--r-- | src/_contexts.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_contexts.scss b/src/_contexts.scss index ed376a2..e766321 100644 --- a/src/_contexts.scss +++ b/src/_contexts.scss | |||
| @@ -241,7 +241,8 @@ $stacks: (); | |||
| 241 | @return false; | 241 | @return false; |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | $end-idx: if($check-head-only, list.length($context-stack), 1); | 244 | $end-idx: if(sass($check-head-only): list.length($context-stack); else: 1); |
| 245 | |||
| 245 | 246 | ||
| 246 | @for $i from list.length($context-stack) through $end-idx { | 247 | @for $i from list.length($context-stack) through $end-idx { |
| 247 | $context: list.nth($context-stack, $i); | 248 | $context: list.nth($context-stack, $i); |
