Difference between revisions of "Widget:Homepage"

From LINKS Community Center
Jump to: navigation, search
Line 109: Line 109:
 
         function search(event) {
 
         function search(event) {
 
             event.preventDefault();
 
             event.preventDefault();
             const val = document.getElementById('hp-search-input').value;
+
             const searchString = document.getElementById('hp-search-input').value;
             console.log(val)
+
             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!