diff --git a/README.md b/README.md index 542c3a60..3973e6bf 100644 --- a/README.md +++ b/README.md @@ -209,4 +209,4 @@ From [SVGporn](https://github.com/gilbarbara/logos/) - CC0 IBM, Yammer, Android, Authy, ClourFlare, CodePen, DigitalOcean, Discord, AirBnB, WiFi, delicious, opensource, Patreon -Where possible, they retain their original licenses. Some logos may be subject to copyright and trademark laws, but these files are small enough to memorise. \ No newline at end of file +Where possible, they retain their original licenses. Some logos may be subject to copyright and trademark laws, but these files are small enough to memorise. diff --git a/images/png/twitter.png b/images/png/twitter.png index dd3df2e2..6ccbbba6 100644 Binary files a/images/png/twitter.png and b/images/png/twitter.png differ diff --git a/images/svg/apple.svg b/images/svg/apple.svg index d40a55ac..2e32c5df 100644 --- a/images/svg/apple.svg +++ b/images/svg/apple.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/images/svg/google.svg b/images/svg/google.svg index 485d9407..79f678de 100644 --- a/images/svg/google.svg +++ b/images/svg/google.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/images/svg/kickstarter.svg b/images/svg/kickstarter.svg index 57a49274..a5fd9217 100644 --- a/images/svg/kickstarter.svg +++ b/images/svg/kickstarter.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/images/svg/tumblr.svg b/images/svg/tumblr.svg index 5d686424..2d8d891d 100644 --- a/images/svg/tumblr.svg +++ b/images/svg/tumblr.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/images/svg/ubuntu.svg b/images/svg/ubuntu.svg index 88babc5f..7eafe9c2 100644 --- a/images/svg/ubuntu.svg +++ b/images/svg/ubuntu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/svg/wikipedia.svg b/images/svg/wikipedia.svg index 94585869..206d9f46 100644 --- a/images/svg/wikipedia.svg +++ b/images/svg/wikipedia.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/radius.html b/radius.html index 3ab9d48a..2e7ecacd 100644 --- a/radius.html +++ b/radius.html @@ -79,7 +79,10 @@ var urls = items.map(item => 'images/svg/' + item + '.svg'); var icons; Promise.all(urls.map(url => fetch(url).then(res => res.text()))).then(all => { - icons = all; + icons = all.map(icon => { + return icon + '' + icon.match(/aria-label\=\"(.*?)\"/)[1] + ''; + }); + render(range.value); });