summaryrefslogtreecommitdiff
path: root/public/vendor/inlineAttachment/inline-attachment.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/inlineAttachment/inline-attachment.js')
-rwxr-xr-xpublic/vendor/inlineAttachment/inline-attachment.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/inlineAttachment/inline-attachment.js b/public/vendor/inlineAttachment/inline-attachment.js
index 9353ebd8..0ffd3f9f 100755
--- a/public/vendor/inlineAttachment/inline-attachment.js
+++ b/public/vendor/inlineAttachment/inline-attachment.js
@@ -352,7 +352,7 @@
inlineAttachment.prototype.onFileInserted = function(file, id) {
if (this.settings.onFileReceived.call(this, file) !== false) {
this.lastValue = this.settings.progressText.replace(this.filenameTag, id);
- this.editor.insertValue(this.lastValue);
+ this.editor.insertValue(this.lastValue + "\n");
}
};