From 6b004a399234b6c4e1ea0efb68822aa970f77b3e Mon Sep 17 00:00:00 2001 From: Cutls Date: Mon, 3 Jun 2019 23:38:58 +0900 Subject: [PATCH] Fix visibility on Misskey #83 --- app/js/post/post.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/post/post.js b/app/js/post/post.js index 978fb538..6adb0d3a 100644 --- a/app/js/post/post.js +++ b/app/js/post/post.js @@ -218,9 +218,9 @@ function misskeyPost() { } var vis = $("#vis").text(); if (vis == "unlisted") { - vis == "home" + vis = "home" } else if (vis == "direct") { - vis == "specified"; + vis = "specified"; toot.visibleUserIds = str.match(/@([a-zA-Z0-9_@.-]+)(\s|$)/g).join('').split("@"); } if (vis != "inherit") {