aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/client.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/web/client.html b/web/client.html
index 38e1652..ba57839 100644
--- a/web/client.html
+++ b/web/client.html
@@ -15,6 +15,10 @@
.vote.on {
color: #f48024
}
+
+ .searchResult:hover {
+ background-color: #999;
+ }
</style>
<script>
@@ -228,6 +232,8 @@
searchResultsOverlay.style.display = "none";
});
+ listItem.classList.add("searchResult")
+
let searchResultLabel = document.createTextNode(song.artist + " - " + song.title);
listItem.appendChild(searchResultLabel);
@@ -240,7 +246,7 @@
window.onload = function() {
document.getElementById("ppbutton").addEventListener("click", function() {
- new HttpClient().get("/playpause", showSearchResults);
+ new HttpClient().get("/playpause", console.log);
});
}
</script>