Fixed casing of button text

This commit is contained in:
Dan Leech 2016-02-24 11:19:05 +00:00
parent bcfdbccb70
commit 3f3f92ce15
4 changed files with 9 additions and 9 deletions

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Show names &amp; colour values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
@ -550,11 +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";
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";
document.getElementById("toggle-button").innerHTML = "Show names & colour values";
}
}
</script>

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Show names &amp; colour values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
@ -550,11 +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";
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";
document.getElementById("toggle-button").innerHTML = "Show names & colour values";
}
}
</script>

View File

@ -34,11 +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";
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";
document.getElementById("toggle-button").innerHTML = "Show names & colour values";
}
}
</script>

View File

@ -274,7 +274,7 @@
<input type="text" id="search" class="search-field" autofocus>
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections &amp; requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names &amp; Colour Values</a></p>
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Show names &amp; colour values</a></p>
</div>
<div class="block block--ad">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>