Difference between revisions of "Widget:Homepage"
From LINKS Community Center
Line 109: | Line 109: | ||
function search(event) { | function search(event) { | ||
event.preventDefault(); | event.preventDefault(); | ||
− | const | + | const searchString = document.getElementById('hp-search-input').value; |
− | + | window.location.assign('/index.php?search=' + searchString + '&title=Special%3ASearch&profile=default&fulltext=1'); | |
} | } | ||
</script> | </script> |
Revision as of 15:04, 20 June 2022
Development verstion of the DCT Homepage.
Not ready for production!