🎨 Clarify data flow

This commit is contained in:
Daniel Gasienica 2018-02-12 16:33:50 -05:00
parent e7da41591f
commit 7ccb833e5d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@
case 'video': this.addThumb('images/video.svg'); break;
case 'image':
window.autoOrientImage(file)
.then(this.addThumb.bind(this));
.then(dataURL => this.addThumb(dataURL));
break;
default:
this.addThumb('images/file.svg'); break;