Skip to content

Commit 9d64e9f

Browse files
committed
bar.js: stopImmediatePropagation after opening/closing tab
Can fools smooth scrolling routines etc.
1 parent 05341c6 commit 9d64e9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tracy/Bar/assets/bar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
this.toWindow();
6969
}
7070
e.preventDefault();
71+
e.stopImmediatePropagation();
7172
});
7273
});
7374

@@ -281,6 +282,7 @@
281282
}
282283
}
283284
e.preventDefault();
285+
e.stopImmediatePropagation();
284286
});
285287

286288
link.addEventListener('mouseenter', (e) => {

0 commit comments

Comments
 (0)