@tdocs/tdocs 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tdocs/tdocs",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Custom Static Site Generator for rapid documentation prototyping",
5
5
  "main": "./build/index.js",
6
6
  "bin": {
@@ -67,7 +67,7 @@
67
67
 
68
68
  // Render the first item by default if exists
69
69
  if (tree.length > 0) {
70
- sidebar.firstChild.click();
70
+ sidebar.firstElementChild.click();
71
71
  }
72
72
  </script>
73
73
  </body>