mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-23 22:48: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 = ''
|
|
}
|