Spaces:
Running
Running
Mattthew commited on
Commit ·
a75db6e
1
Parent(s): 50e80cf
bug fix of bug fix ;)
Browse files
index.js
CHANGED
|
@@ -2395,8 +2395,8 @@ function hideLargerImages(imageItem) {
|
|
| 2395 |
|
| 2396 |
function setArtistPinned(imageItem,firstN,lastN) {
|
| 2397 |
if(imageItem) {
|
| 2398 |
-
|
| 2399 |
-
|
| 2400 |
}
|
| 2401 |
for (var i=0, il=artistsData.length; i<il; i++) {
|
| 2402 |
let artist = artistsData[i];
|
|
|
|
| 2395 |
|
| 2396 |
function setArtistPinned(imageItem,firstN,lastN) {
|
| 2397 |
if(imageItem) {
|
| 2398 |
+
firstN = imageItem.querySelectorAll('h3 span')[0].textContent;
|
| 2399 |
+
lastN = imageItem.querySelectorAll('h3 span')[1].textContent;
|
| 2400 |
}
|
| 2401 |
for (var i=0, il=artistsData.length; i<il; i++) {
|
| 2402 |
let artist = artistsData[i];
|