summaryrefslogtreecommitdiff
path: root/client/button.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-21 10:49:14 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-21 10:49:14 +0300
commit6b4620f2f9eba41679990c10eb4e2cc4430a8562 (patch)
tree390e2a7def82ee90d7e92283b0355e24f9f44629 /client/button.js
parente09b02ea1fe773f0ebf4059792f89db9ae743fa8 (diff)
One liner flicker fix
Diffstat (limited to 'client/button.js')
-rw-r--r--client/button.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/button.js b/client/button.js
index c739001..8dd7db7 100644
--- a/client/button.js
+++ b/client/button.js
@@ -151,16 +151,16 @@ Template.dates.helpers({
Template.photos.events({
'click button.pixelate': function (event) {
_.each(Session.get('photos'), function(x) {
- $('#img-'+x.id).hide()
Effects.pixelate(x.id);
- $('#canvas-'+x.id).show()
+ $('#img-'+x.id).hide();
+ $('#canvas-'+x.id).show();
})
},
'click button.color': function (event) {
_.each(Session.get('photos'), function(x) {
- $('#img-'+x.id).hide()
Effects.colorize(x.id);
- $('#canvas-'+x.id).show()
+ $('#img-'+x.id).hide();
+ $('#canvas-'+x.id).show();
})
},
'click button.average': function (event) {