From d2a10c7d712a3f60888424f17c366ac2d5b4c265 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 21 Jun 2015 15:47:46 +0300 Subject: Implement step 7 --- client/button.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'client/button.js') 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({ -- cgit v1.3.1