Skip to content

Commit caba136

Browse files
committed
Clean up expando code
Remove expando code not needed since switching to semantic <details><summary>
1 parent 86b3372 commit caba136

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

app.coffee

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ overlap_summary = document.getElementById("overlap-summary")
5858
overlap_details = document.getElementById("overlap-details")
5959
copied_indicator = document.getElementById("copied-to-clipboard")
6060

61-
overlaps_expanded = false
62-
overlap_summary.addEventListener "click", ->
63-
overlaps_expanded = not overlaps_expanded
64-
overlap_details.style.display = if overlaps_expanded then "" else "none"
65-
overlap_summary.style.cursor = "pointer"
66-
6761
output_text_art = ""
6862
update_output_area = ->
6963
if markdown_format_checkbox.checked

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
opacity: 0;
108108
}
109109

110+
details summary {
111+
cursor: pointer;
112+
}
113+
110114
.two-column-layout {
111115
display: flex;
112116
flex-direction: column; /* i.e. NOT a two column layout */

0 commit comments

Comments
 (0)