mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
toggle ascending/descending mode
This commit is contained in:
3
src/interface/static/js/pyshelf_ux.js
vendored
3
src/interface/static/js/pyshelf_ux.js
vendored
@@ -84,6 +84,9 @@ $(document).ready(function(){
|
||||
_location = $(this).attr('data-location');
|
||||
window.location.href=_location;
|
||||
});
|
||||
$('#flip_sort').on("click", function(){
|
||||
window.location.href="/flip_sort/"+$("#_order").val()
|
||||
});
|
||||
$('#search_string').html("<i> "+$('#_search').val().substr(0,15)+"</i>")
|
||||
resize_search();
|
||||
$(window).resize(resize_search(win_width));
|
||||
|
||||
Reference in New Issue
Block a user