include more messaging for user feedback

This commit is contained in:
Albert Yi
2018-09-05 16:32:18 -07:00
parent 22e30186b1
commit 4b9f3e384f
4 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
$(() => {
$("#c-user-feedbacks #negative-policy").hide();
$("#c-user-feedbacks #user_feedback_category").on("change.danbooru", (e) => {
if (e.target.value === "negative") {
$("#c-user-feedbacks #negative-policy").show();
} else {
$("#c-user-feedbacks #negative-policy").hide();
}
});
});

View File

@@ -14,4 +14,9 @@ div#c-user-feedbacks, div#c-moderator-dashboards div#col2 {
blockquote {
padding: 0.5em;
}
#negative-policy {
max-width: 50em;
margin-bottom: 1em;
}
}