Node.js based forum software built for the modern web
fix: utils method
Barış Soner Uşaklı91e21ecc6294
diff --git a/public/src/utils.js b/public/src/utils.jsindex 86f799b63f..6628a8f008 100644--- a/public/src/utils.js+++ b/public/src/utils.js@@ -428,7 +428,7 @@},extensionToMimeType: function (extension) {- return utils.extensionMimeTypeMap.hasOwnProperty('extension') ? utils.extensionMimeTypeMap[extension] : '*';+ return utils.extensionMimeTypeMap.hasOwnProperty(extension) ? utils.extensionMimeTypeMap[extension] : '*';},isPromise: function (object) {