diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/effects.js | 3 | ||||
| -rw-r--r-- | client/templates/photos.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/client/effects.js b/client/effects.js index b5f54e2..52e1bcc 100644 --- a/client/effects.js +++ b/client/effects.js @@ -25,10 +25,11 @@ Effects = (function() { strokeColor: color, fillColor: color }); - paper.view.draw(); } } + paper.view.draw(); + var quant = MMCQ.quantize(colors, 2); var palette = quant.palette(); diff --git a/client/templates/photos.html b/client/templates/photos.html index 4ca451d..866ae9f 100644 --- a/client/templates/photos.html +++ b/client/templates/photos.html @@ -6,6 +6,6 @@ </template> <template name="photo"> - <img id="img-{{id}}" src="{{images.thumbnail.url}}" crossOrigin="Anonymous"> + <img id="img-{{id}}" src="{{images.thumbnail.url}}" crossorigin="anonymous"> <canvas id="canvas-{{id}}" resize="true" style="width: 180px; height: 230px;"></canvas> </template> |
