aboutsummaryrefslogtreecommitdiff
path: root/client/js/models/post.js
diff options
context:
space:
mode:
authorHunternif2025-02-15 18:12:57 +0000
committerHunternif2025-02-15 18:12:57 +0000
commit6a5300502df8b4de9c8f269b444cd309f02b28ad (patch)
tree0cf2ba56bce802c94ad324f9eda7a31d37a42e2e /client/js/models/post.js
parent34e7c883808738871aed371948a3c9896a95905c (diff)
parent376f687c386f65522b2f65e98b998b21af26ee29 (diff)
Merge branch 'master' into hunternif
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) {

© 2015 - 2026 Jakob L. Kreuze