diff options
| author | Hunternif | 2025-02-15 18:12:57 +0000 |
|---|---|---|
| committer | Hunternif | 2025-02-15 18:12:57 +0000 |
| commit | 6a5300502df8b4de9c8f269b444cd309f02b28ad (patch) | |
| tree | 0cf2ba56bce802c94ad324f9eda7a31d37a42e2e /client/js/models/post.js | |
| parent | 34e7c883808738871aed371948a3c9896a95905c (diff) | |
| parent | 376f687c386f65522b2f65e98b998b21af26ee29 (diff) | |
Merge branch 'master' into hunternif
Diffstat (limited to 'client/js/models/post.js')
| -rw-r--r-- | client/js/models/post.js | 2 |
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) { |