diff --git a/client/js/controls/post_edit_sidebar_control.js b/client/js/controls/post_edit_sidebar_control.js index 49576a1..7ba37d3 100644 --- a/client/js/controls/post_edit_sidebar_control.js +++ b/client/js/controls/post_edit_sidebar_control.js @@ -259,7 +259,7 @@ class PostEditSidebarControl extends events.EventTarget { detail: { post: this._post, - safety: this._safetyButtonNodes.legnth ? + safety: this._safetyButtonNodes.length ? Array.from(this._safetyButtonNodes) .filter(node => node.checked)[0] .value.toLowerCase() :