diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-21 18:55:11 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-21 18:55:11 +0300 |
| commit | fc62d96c5150450c9c4639e524d8c77fa6128964 (patch) | |
| tree | 6d6a0ad457805f353ef1e00d88a9549bd8e30dec /client | |
| parent | 21f0f2a62f55f3a26899e40976e7acfd7048afd4 (diff) | |
Flicker fix for real
Diffstat (limited to 'client')
| -rw-r--r-- | client/button.js | 8 |
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); |
