Improve readability

This commit is contained in:
Daniel Gasienica 2018-02-12 10:10:11 -05:00
parent b5ba96f1e6
commit 59974db5a5
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@
case 'audio': this.addThumb('images/audio.svg'); break;
case 'video': this.addThumb('images/video.svg'); break;
case 'image':
window.autoOrientImage(file).then(this.addThumb.bind(this));
window.autoOrientImage(file)
.then(this.addThumb.bind(this));
break;
default:
this.addThumb('images/file.svg'); break;