summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-24 01:17:29 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-24 01:17:29 +0100
commitd085c2001a7c73414411d3c7e51329c44f7c811b (patch)
tree3077e3cac193206727ffb7205c5d6469ec17f61d
parent65694e35dea38e8b353baadba8c29795074e43cd (diff)
downloadquatuorbellefeuille.com-d085c2001a7c73414411d3c7e51329c44f7c811b.tar.xz
Explain script purpose
-rw-r--r--actualités.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/actualités.html b/actualités.html
index c0999c7..4973a09 100644
--- a/actualités.html
+++ b/actualités.html
@@ -225,6 +225,8 @@
<!-- TODO: prevent scroll when clicking on overflowing details -->
<script>
+ // When JS is enabled, hide concert details by default, and
+ // allow the user to display concerts selectively.
var detailsStyle = document.createElement('style');
document.head.appendChild(detailsStyle);
detailsStyle.sheet.insertRule('.details:not(.active) {display:none}');