mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix: Minor clean up
This commit is contained in:
parent
677f073476
commit
e043585665
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user