@humblejs/lib
Advanced tools
Comparing version 1.10.14 to 1.10.15
@@ -25,2 +25,4 @@ 'use strict'; | ||
var placeHolders = document.getElementsByClassName("toc-placeholder"); | ||
if (items.className.indexOf(" is-open") === -1) { | ||
@@ -31,6 +33,4 @@ | ||
var placeHolders = document.getElementsByClassName("toc-placeholder"); | ||
for (var i = 0; i < placeHolders.length; ++i) { | ||
placeHolders[i].className.replace(" is-open", ""); | ||
placeHolders[i].className += " is-open"; | ||
placeHolders[i].className = "toc-placeholder is-rendered is-open"; | ||
} | ||
@@ -45,2 +45,5 @@ | ||
e.target.textContent = "[Show]"; | ||
for (var i = 0; i < placeHolders.length; ++i) { | ||
placeHolders[i].className = "toc-placeholder is-rendered"; | ||
} | ||
@@ -47,0 +50,0 @@ if (gaEventHide) { |
{ | ||
"name": "@humblejs/lib", | ||
"version": "1.10.14", | ||
"version": "1.10.15", | ||
"main": "dist/export.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/export.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26737
521