We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c7e6cb + 3a535a4 commit 5878e2bCopy full SHA for 5878e2b
docs/html/about/versions/jelly-bean.jd
@@ -42,8 +42,13 @@ function revealSection(hashy) {
42
link = $("#version-tabs a[href$="+sectionId+"]");
43
link.parent().addClass("selected");
44
link.parent().siblings().removeClass("selected");
45
- $(".version-section").hide();
46
- $(link.attr("href")).show();
+
+ sectionDiv = $(".version-section"+link.attr("href"));
47
+ if (sectionDiv.length) {
48
+ $(".version-section").hide();
49
+ sectionDiv.show();
50
+ }
51
52
$('html, body').animate({
53
scrollTop: $(hashy).offset().top
54
}, 100);
0 commit comments