summaryrefslogtreecommitdiff
path: root/client/js/models/post.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/models/post.js')
-rw-r--r--client/js/models/post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/models/post.js b/client/js/models/post.js
index 1adaf5a..3df3b2c 100644
--- a/client/js/models/post.js
+++ b/client/js/models/post.js
@@ -296,7 +296,7 @@ class Post extends events.EventTarget {
if (this._newContent) {
files.content = this._newContent;
}
- if (this._newThumbnail !== undefined) {
+ if (this._newThumbnail !== undefined && this._newThumbnail !== null) {
files.thumbnail = this._newThumbnail;
}
if (this._source !== this._orig._source) {