Improve readability
This commit is contained in:
parent
b5ba96f1e6
commit
59974db5a5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue