diff options
Diffstat (limited to 'client/js/models')
| -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 2fb3d34..01f81bf 100644 --- a/client/js/models/post.js +++ b/client/js/models/post.js @@ -271,7 +271,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) { |