diff --git a/static/js/humhub/humhub.ui.markdown.js b/static/js/humhub/humhub.ui.markdown.js index c76707caf6..e871cab89c 100644 --- a/static/js/humhub/humhub.ui.markdown.js +++ b/static/js/humhub/humhub.ui.markdown.js @@ -106,7 +106,7 @@ humhub.module('ui.markdown', function (module, require, $) { var uploadWidget = Widget.instance('#markdown-file-upload'); uploadWidget.$form = $(this.$.closest('form')); - if(this.options.filesInputName) { + if (this.options.filesInputName) { uploadWidget.options.uploadSubmitName = this.options.filesInputName; } else { uploadWidget.options.uploadSubmitName = uploadWidget.data('upload-submit-name'); @@ -197,4 +197,4 @@ humhub.module('ui.markdown', function (module, require, $) { init: init, MarkdownField: MarkdownField }); -}); \ No newline at end of file +});