mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Implemented basic search functionality
This commit is contained in:
7
src/interface/static/js/pyshelf_ux.js
vendored
7
src/interface/static/js/pyshelf_ux.js
vendored
@@ -0,0 +1,7 @@
|
||||
$(document).ready(function(){
|
||||
$(".search_submit").click(function(){
|
||||
var query = $('.nav_search').val();
|
||||
console.log(query);
|
||||
window.location.href = '/search/'+query;
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user