Add 'fiscal/' from commit '102ba84500dbd9655a0471288c3e278652593ca9'
git-subtree-dir: fiscal git-subtree-mainline:d95165fc8fgit-subtree-split:102ba84500
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
document.documentElement.classList.add("js");
|
||||
// Whole-row navigation for dense tables; the primary cell keeps a native link (keyboard/screen readers).
|
||||
document.querySelectorAll("tr.navigable-row[data-href]").forEach((row) => {
|
||||
row.addEventListener("click", (event) => {
|
||||
if (event.target.closest("a, button, input, select, textarea, label")) return;
|
||||
window.location.href = row.dataset.href;
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user