aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-13 17:14:19 +0200
committersD <stoned@derpymail.org>2020-04-13 17:14:19 +0200
commit6e5016945bbb8af7c30c03f56844ec7049903e34 (patch)
treeb73643b5b9f73790b50413d5ed8fd04e7ea7a1b8 /webAO/client.js
parent0b66f20070e96c5d47a3a048c8355b6a3c930f5b (diff)
add filter to the search boxes onchange
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index b28498b..7e29c42 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1985,6 +1985,18 @@ function resetICParams() {
}
/**
+ * Triggered when the music search bar is changed
+ * @param {MouseEvent} event
+ */
+export function musiclist_filter(_event) {
+ const musiclist_element = document.getElementById("client_musiclist");
+ musiclist_element.innerHTML = "";
+
+
+}
+window.musiclist_filter = musiclist_filter;
+
+/**
* Triggered when an item on the music list is clicked.
* @param {MouseEvent} event
*/