diff options
-rw-r--r-- | examples/aspect-ratio.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aspect-ratio.html b/examples/aspect-ratio.html index 6b313c4..3ae4a8b 100644 --- a/examples/aspect-ratio.html +++ b/examples/aspect-ratio.html @@ -46,7 +46,7 @@ function setAspect(div, i) { var aspect = 9/16; - var isLast = i === (n - 1) + var isLast = i === (n - 1); var h = div.clientWidth * aspect; div.style.height = h + 'px'; @@ -58,7 +58,7 @@ function setAspectFastDom(div, i) { var aspect = 9/16; - var isLast = i === (n - 1) + var isLast = i === (n - 1); // READ fastdom.read(function() { |