mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-10 17:08:32 +01:00
change to better shade of green
This commit is contained in:
@@ -27,8 +27,8 @@ if(targetPlayer){
|
|||||||
/* scrollIntoView broken on android?? wtf */
|
/* scrollIntoView broken on android?? wtf */
|
||||||
scrollOptions = {beahviour: "smooth", block:"center"}
|
scrollOptions = {beahviour: "smooth", block:"center"}
|
||||||
targetPlayer.scrollIntoView(scrollOptions);
|
targetPlayer.scrollIntoView(scrollOptions);
|
||||||
targetPlayer.style.background = "green";
|
targetPlayer.style.background = "#56a456a3";
|
||||||
targetPlayer.children.forEach(c => c.style.borderColor="green")
|
targetPlayer.children.forEach(c => c.style.borderColor="#56a456a3")
|
||||||
}
|
}
|
||||||
|
|
||||||
/* alert on mobile devices if player was not found */
|
/* alert on mobile devices if player was not found */
|
||||||
|
|||||||
Reference in New Issue
Block a user