Skip to content

Commit 16db36b

Browse files
committed
Deploying to gh-pages from @ 70dd16b 🚀
1 parent d08d84a commit 16db36b

File tree

67 files changed

+573
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+573
-46
lines changed

404.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,24 @@
166166
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
167167
return savedTheme === 'dark' || (savedTheme === null && prefersDark);
168168
};
169+
170+
// Click outside handler for dropdown menus
171+
window.setupClickOutside = (elementId, dotNetReference) => {
172+
const element = document.getElementById(elementId);
173+
if (!element) return;
174+
175+
const handleClickOutside = (event) => {
176+
if (!element.contains(event.target)) {
177+
dotNetReference.invokeMethodAsync('CloseDropdown');
178+
}
179+
};
180+
181+
// Remove existing listener if any
182+
document.removeEventListener('click', handleClickOutside);
183+
184+
// Add new listener
185+
document.addEventListener('click', handleClickOutside);
186+
};
169187
</script>
170188
<!-- <script>navigator.serviceWorker.register('service-worker.js');</script>-->
171189
</body>
-219 KB
Binary file not shown.
-79.1 KB
Binary file not shown.
-94.1 KB
Binary file not shown.
-60.3 KB
Binary file not shown.
-20.9 KB
Binary file not shown.
-25.1 KB
Binary file not shown.
60.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)