mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 13:31:00 +00:00
Added button for searching in channel
This commit is contained in:
@@ -678,6 +678,17 @@ function addDynamicListeners() {
|
||||
document.getElementsByClassName("context-menu-root")[0].setAttribute("data-id", "");
|
||||
});
|
||||
|
||||
addListener("click", ".playlist-search-button", function(e) {
|
||||
this.preventDefault();
|
||||
Helper.toggleClass("#find_div", "hide");
|
||||
document.getElementById("find_input").value = "";
|
||||
document.getElementById("find_input").blur();
|
||||
Helper.removeClass(".highlight", "highlight");
|
||||
found_array = [];
|
||||
found_array_index = 0;
|
||||
find_word = "";
|
||||
});
|
||||
|
||||
addListener("click", ".delete-context-menu", function(e) {
|
||||
var that = e;
|
||||
if(that.classList.contains("context-menu-disabled")) {
|
||||
|
||||
Reference in New Issue
Block a user