diff --git a/client/js/controls/post_edit_sidebar_control.js b/client/js/controls/post_edit_sidebar_control.js index 7ba37d3..70570d7 100644 --- a/client/js/controls/post_edit_sidebar_control.js +++ b/client/js/controls/post_edit_sidebar_control.js @@ -274,7 +274,8 @@ class PostEditSidebarControl extends events.EventTarget { undefined, relations: this._relationsInputNode ? - misc.splitByWhitespace(this._relationsInputNode.value) : + misc.splitByWhitespace(this._relationsInputNode.value) + .map(x => parseInt(x)) : undefined, content: this._newPostContent ?