summaryrefslogtreecommitdiff
path: root/client/button.js
diff options
context:
space:
mode:
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) {