Commit 14a69cf9 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont 🤔
Browse files

Mark the clickable areas as such in the QA output

Thanks to Stuart Prescott for the idea.
parent d83fdef1
......@@ -110,4 +110,19 @@ $(document).ready(function() {
}
);
/* Mark stuff as clickable in CSS when they are */
$(".visibility").each(function () {
if($(this).siblings(".qa-content").size() > 0) {
$(this).css("cursor", "pointer");
};
});
$(".qa-header").each(function () {
if($(this).siblings(".qa-content").size() > 0) {
$(this).css("cursor", "pointer");
};
});
$(".qa-toggle-all").css("cursor", "pointer");
$(".qa-toggle-info").css("cursor", "pointer");
});
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment