Index: sky/examples/style/block-layout.sky |
diff --git a/sky/examples/style/block-layout.sky b/sky/examples/style/block-layout.sky |
index b303db047e51ffe798fbe606c20dcb7135d2baf3..0cfac2bb07dce6d2be266021c9ec3880bcc35721 100644 |
--- a/sky/examples/style/block-layout.sky |
+++ b/sky/examples/style/block-layout.sky |
@@ -37,7 +37,7 @@ SKY MODULE |
} |
function getIntrinsicWidth() { |
let width = this.node.getProperty('width'); |
- if (typeof height != 'number') { |
+ if (typeof width != 'number') { |
// e.g. width: auto |
width = 0; |
let children = this.walkChildren(); |