diff --git a/README.md b/README.md index c2fb2a5a..3973e6bf 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Originally created for my contact page - [https://edent.tel/](https://edent.tel/
830 Bytes
799 Bytes -
661 Bytes +
308 Bytes
575 Bytes
525 Bytes
255 Bytes diff --git a/images/svg/apple.svg b/images/svg/apple.svg index 2e32c5df..d40a55ac 100644 --- a/images/svg/apple.svg +++ b/images/svg/apple.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/ubuntu.svg b/images/svg/ubuntu.svg index 7eafe9c2..88babc5f 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 206d9f46..94585869 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); });