summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-21 18:55:11 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-21 18:55:11 +0300
commitfc62d96c5150450c9c4639e524d8c77fa6128964 (patch)
tree6d6a0ad457805f353ef1e00d88a9549bd8e30dec
parent21f0f2a62f55f3a26899e40976e7acfd7048afd4 (diff)
Flicker fix for real
-rw-r--r--client/button.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/button.js b/client/button.js
index f2b2d71..7f71fda 100644
--- a/client/button.js
+++ b/client/button.js
@@ -19,9 +19,9 @@ function animate() {
$('li#step2').addClass('active');
_.each(Session.get('photos'), function(x, i) {
_.delay(function() {
- $('#img-'+x.id).hide()
Effects.pixelate(x.id);
- $('#canvas-'+x.id).show()
+ $('#img-'+x.id).hide();
+ $('#canvas-'+x.id).show();
}, 400 * i);
});
}, delay + 2000);
@@ -35,9 +35,9 @@ function animate() {
$('li#step3').addClass('active');
_.each(Session.get('photos'), function(x, i) {
_.delay(function () {
- $('#img-'+x.id).hide()
Effects.colorize(x.id);
- $('#canvas-'+x.id).show()
+ $('#img-'+x.id).hide();
+ $('#canvas-'+x.id).show();
}, 400 * i);
});
}, delay + 2000);