include more messaging for user feedback
This commit is contained in:
10
app/javascript/src/javascripts/user_feedback.js
Normal file
10
app/javascript/src/javascripts/user_feedback.js
Normal 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();
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user