diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-13 15:46:40 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-13 15:46:40 +0300 |
| commit | 21eb0e3b59966a469cd2b9f09722642bf1b8c661 (patch) | |
| tree | e969cc5368e16febfdca79a3c8ef139522662fd8 /client/button.js | |
| parent | 9ae25440f70d97ce33dc2b139b381a098f761349 (diff) | |
Switch to rgbquant
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/button.js b/client/button.js index 2fabf31..786091d 100644 --- a/client/button.js +++ b/client/button.js @@ -47,6 +47,13 @@ Template.photos.events({ Effects.pixelate(x.id); $('#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() + }) } }) |
