diff --git a/404.html b/404.html index 599887c1e..361b6fc43 100644 --- a/404.html +++ b/404.html @@ -274,7 +274,7 @@

SVG icons for popular brands. This project is maintained by Dan Leech. Contributions, corrections & requests can be left on GitHub. Company logos in icons are copyright of their respective owners.

Download

-

Toggle Names & Colour Values

+

Toggle Names & Colour Values

@@ -550,9 +550,11 @@ var list = document.getElementsByClassName("tiles tiles--icons"); if(list.length == 1) { list[0].className = "tiles tiles--full"; + document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values"; } else { var list = document.getElementsByClassName("tiles tiles--full"); list[0].className = "tiles tiles--icons"; + document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values"; } } diff --git a/index.html b/index.html index 599887c1e..361b6fc43 100644 --- a/index.html +++ b/index.html @@ -274,7 +274,7 @@

SVG icons for popular brands. This project is maintained by Dan Leech. Contributions, corrections & requests can be left on GitHub. Company logos in icons are copyright of their respective owners.

Download

-

Toggle Names & Colour Values

+

Toggle Names & Colour Values

@@ -550,9 +550,11 @@ var list = document.getElementsByClassName("tiles tiles--icons"); if(list.length == 1) { list[0].className = "tiles tiles--full"; + document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values"; } else { var list = document.getElementsByClassName("tiles tiles--full"); list[0].className = "tiles tiles--icons"; + document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values"; } } diff --git a/src/footer.html b/src/footer.html index f2a801682..614c9857b 100644 --- a/src/footer.html +++ b/src/footer.html @@ -34,9 +34,11 @@ var list = document.getElementsByClassName("tiles tiles--icons"); if(list.length == 1) { list[0].className = "tiles tiles--full"; + document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values"; } else { var list = document.getElementsByClassName("tiles tiles--full"); list[0].className = "tiles tiles--icons"; + document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values"; } } diff --git a/src/header.html b/src/header.html index 975ca839d..7c38550f7 100644 --- a/src/header.html +++ b/src/header.html @@ -274,7 +274,7 @@

SVG icons for popular brands. This project is maintained by Dan Leech. Contributions, corrections & requests can be left on GitHub. Company logos in icons are copyright of their respective owners.

Download

-

Toggle Names & Colour Values

+

Toggle Names & Colour Values