0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 06:58:22 -05:00
websurfx/public/static/index.js

7 lines
180 B
JavaScript
Raw Permalink Normal View History

/**
* A function that clears the search input text when the clear button is clicked.
*/
function clearSearchText() {
2024-10-18 06:16:32 -04:00
document.querySelector('.search_bar > input').value = ''
}