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