[nyx/master] Scroll to anchor

5 Aug
2017
5 Aug
'17
1:18 a.m.
commit 35e0c91a83d448ed1ea8fdbb676c6335c0a4e506 Author: Damian Johnson <atagar@torproject.org> Date: Thu Jul 27 21:24:58 2017 -0700 Scroll to anchor By dynamically swapping taps we didn't necessarily scroll to the anchor afterward. --- web/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/web/index.html b/web/index.html index 55b3263..646d7d2 100644 --- a/web/index.html +++ b/web/index.html @@ -197,6 +197,7 @@ $(".panes").children().each(function () { if ($(this).find(anchor).length) { $(".tabs").data("tabs").click(this.id); + document.getElementById(anchor.substr(1)).scrollIntoView(); } }); }
2894
Age (days ago)
2894
Last active (days ago)
0 comments
1 participants
participants (1)
-
atagar@torproject.org