From 2f598e35a0954532388960c5cf0e2855a076d48c Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 4 Mar 2012 14:11:51 -0800 Subject: when > 0 rather than when not 0 --- docs/assets/bootstrap.zip | Bin 54463 -> 54463 bytes less/mixins.less | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 84c5698f6..e84dd00cc 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/less/mixins.less b/less/mixins.less index d58a43685..b1274847d 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -485,17 +485,17 @@ // Recursive mixins! <3 // Requires not yet released LESS ;) - .spanX (@index) when not (@index = 0) { + .spanX (@index) when (@index > 0) { ~".span@{index}" { .span(@index); } #grid .spanX(@index - 1); } - .spanX (@index, @child) when not (@index = 0) and (@child) { + .spanX (@index, @child) when (@index > 0) and (@child) { ~"> .span@{index}" { .span(@index); } #grid .spanX(@index - 1); } .spanX (0) {} - .offsetX (@index) when not (@index = 0) { + .offsetX (@index) when (@index > 0) { ~".offset@{index}" { .offset(@index); } #grid .offsetX(@index - 1); } -- cgit v1.2.3