mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Began working on favorites model
This commit is contained in:
8
src/interface/static/js/pyshelf_ux.js
vendored
8
src/interface/static/js/pyshelf_ux.js
vendored
@@ -73,6 +73,9 @@ $(document).ready(function(){
|
||||
});
|
||||
$('#btn_login').on('click', function(){
|
||||
$('#hdr_nav_login').toggle();
|
||||
});
|
||||
$('.favorite_action').on('click', toggle_favorite(){
|
||||
|
||||
});
|
||||
$('#sortlist').change(function () {
|
||||
var optionSelected = $(this).find("option:selected");
|
||||
@@ -101,3 +104,8 @@ function resize_search(win_width){
|
||||
$('.search_string').val("Search");
|
||||
}
|
||||
}
|
||||
|
||||
function toggle_favorite($(this)){
|
||||
custom_log('Favorite book by _pk'+$(this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user