File tree Expand file tree Collapse file tree 2 files changed +0
-69
lines changed Expand file tree Collapse file tree 2 files changed +0
-69
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ const allDays = Array.from(
2626 new Set (days .map ((day ) => day .id ).filter ((id ) => id ))
2727).sort ();
2828
29- const visibleClass = " talk" ;
3029
3130---
3231
@@ -44,36 +43,3 @@ const visibleClass = "talk";
4443 ))
4544 }
4645</Layout >
47- <style is:global >
48-
49- .announcements,
50- .conference-workshop,
51- .keynote,
52- .panel,
53- .poster,
54- .sponsored,
55- .talk,
56- .talk-long-session,
57- .tutorial{
58- display:none;
59- }
60- </style >
61- <script define:vars ={ { visibleClass }} >
62- const allClasses = [
63- 'announcements',
64- 'conference-workshop',
65- 'keynote',
66- 'panel',
67- 'poster',
68- 'sponsored',
69- 'talk',
70- 'talk-long-session',
71- 'tutorial'
72- ];
73-
74- allClasses.forEach(cls => {
75- document.querySelectorAll(`.${cls}`).forEach(el => {
76- el.style.display = (cls === visibleClass) ? '' : 'none';
77- });
78- });
79- </script >
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ const allDays = Array.from(
2626 new Set (days .map ((day ) => day .id ).filter ((id ) => id ))
2727).sort ();
2828
29- const visibleClass = " tutorial" ;
30-
3129---
3230
3331<Layout title =" " description =" " >
@@ -44,36 +42,3 @@ const visibleClass = "tutorial";
4442 ))
4543 }
4644</Layout >
47- <style is:global >
48-
49- .announcements,
50- .conference-workshop,
51- .keynote,
52- .panel,
53- .poster,
54- .sponsored,
55- .talk,
56- .talk-long-session,
57- .tutorial{
58- display:none;
59- }
60- </style >
61- <script define:vars ={ { visibleClass }} >
62- const allClasses = [
63- 'announcements',
64- 'conference-workshop',
65- 'keynote',
66- 'panel',
67- 'poster',
68- 'sponsored',
69- 'talk',
70- 'talk-long-session',
71- 'tutorial'
72- ];
73-
74- allClasses.forEach(cls => {
75- document.querySelectorAll(`.${cls}`).forEach(el => {
76- el.style.display = (cls === visibleClass) ? '' : 'none';
77- });
78- });
79- </script >
You can’t perform that action at this time.
0 commit comments