mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added blank entry to sort list, and reworked window.location.href
This commit is contained in:
2
src/interface/static/js/pyshelf_ux.js
vendored
2
src/interface/static/js/pyshelf_ux.js
vendored
@@ -78,6 +78,6 @@ $(document).ready(function(){
|
||||
var optionSelected = $(this).find("option:selected");
|
||||
var valueSelected = optionSelected.val();
|
||||
var textSelected = optionSelected.text();
|
||||
window.location.href=valueSelected
|
||||
window.location.href="/"+valueSelected
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user