mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 15:38:21 -05:00
7 lines
180 B
JavaScript
7 lines
180 B
JavaScript
/**
|
|
* A function that clears the search input text when the clear button is clicked.
|
|
*/
|
|
function clearSearchText() {
|
|
document.querySelector('.search_bar > input').value = ''
|
|
}
|