Skip to content

Commit a42e120

Browse files
author
Filip Łukasik
committed
add new arrow icons, propage nh click to anchor
1 parent 7eb67d0 commit a42e120

11 files changed

+13
-12
lines changed
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

scaladoc/resources/dotty_res/scripts/ux.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ window.addEventListener("DOMContentLoaded", () => {
1717
}
1818
}
1919

20-
$(".ar").on('click', function () {
20+
$(".ar").on('click', function (e) {
2121
$(this).parent().parent().toggleClass("expanded")
22+
e.stopPropagation()
2223
});
2324

24-
document.querySelectorAll(".side-menu a").forEach(elem => elem.addEventListener('click', e => e.stopPropagation()))
25+
document.querySelectorAll(".nh").forEach(el => el.addEventListener('click', () => el.lastChild.click()))
2526

2627
$('.names .tab').on('click', function () {
2728
parent = $(this).parents(".tabs").first()

0 commit comments

Comments
 (0)