0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-23 22:48:21 -05:00
websurfx/public/static/index.js
2024-10-18 10:16:32 +00:00

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 = ''
}