From a83427546562475fe3b300bb774727fca610dae3 Mon Sep 17 00:00:00 2001 From: Mega Date: Sun, 12 Jun 2016 07:30:49 +0500 Subject: [PATCH] Fix: utils.fileMimeType is always undefined --- public/src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/utils.js b/public/src/utils.js index 78e0013c25..a1ce6959a4 100644 --- a/public/src/utils.js +++ b/public/src/utils.js @@ -177,7 +177,7 @@ }, fileMimeType: function (path) { - utils.extensionToMimeType(utils.fileExtension(path)); + return utils.extensionToMimeType(utils.fileExtension(path)); }, extensionToMimeType: function(extension) {