diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-21 15:47:46 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-21 15:47:46 +0300 |
| commit | d2a10c7d712a3f60888424f17c366ac2d5b4c265 (patch) | |
| tree | d31adc45bad2e2a61c8530837b32379f5082648e /client/button.js | |
| parent | 1dc5c79e76bea64f2272f25bcd1826cf63a3d374 (diff) | |
Implement step 7
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/client/button.js b/client/button.js index 84e201b..889d2b8 100644 --- a/client/button.js +++ b/client/button.js @@ -93,10 +93,21 @@ function animate2() { $('li#step5').removeClass('active'); $('li#step6').addClass('active'); $('div.photos').hide(); - $('div.final').show() + $('div.final').show(); Effects.drawFinal(); }, delay + 2000); + + delay += 1000 * photos.length; + delay += 2000; + + _.delay(function() { + $('li#step6').removeClass('active'); + $('li#step7').addClass('active'); + + Effects.drawFinalIcon(); + }, delay + 2000); + } Template.layout.events({ |
