We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b48de42 commit 66e947bCopy full SHA for 66e947b
scripts/api.js
@@ -41,8 +41,6 @@
41
// Add nav entry.
42
var anchor = $("<a href='#" + ctor.jsClassName + "'><li>" + ctor.jsClassName + "</li><ul class='subnav'></ul></a>").appendTo(scrollable);
43
44
- scrollable.height($("html").innerHeight() - 160);
45
-
46
// Add new content.
47
var contentOutput = contentTemplate.render(ctor);
48
@@ -54,6 +52,12 @@
54
52
});
55
53
56
+ scrollable.height($("html").innerHeight() - 160);
+
57
+ $(window).on("resize", function() {
58
59
+ });
60
61
// Highlight the new code blocks.
62
Prism.highlightAll();
63
0 commit comments