[tor-commits] [nyx/master] Scroll to anchor
atagar at torproject.org
atagar at torproject.org
Sat Aug 5 01:18:26 UTC 2017
commit 35e0c91a83d448ed1ea8fdbb676c6335c0a4e506
Author: Damian Johnson <atagar at 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();
}
});
}
More information about the tor-commits
mailing list