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.
1 parent 98efa72 commit 0e78485Copy full SHA for 0e78485
toc-container-control.js
@@ -20,7 +20,7 @@ module.exports = Control.extend({
20
});
21
},
22
23
- getDocObject() {
+ getDocObject: function() {
24
return window.docObject || {};
25
26
@@ -38,7 +38,7 @@ module.exports = Control.extend({
38
return (typeof depth === "number" ? Math.min(depth, 6) : 1);
39
40
41
- getHeadingsContainerSelector(el) {
+ getHeadingsContainerSelector: function(el) {
42
var selector = el.dataset.headingsContainerSelector;
43
44
return selector ? selector : "article";
0 commit comments