Began working on favorites model

This commit is contained in:
Raelon Masters
2020-07-19 16:52:01 -04:00
parent a72f39863a
commit 802a07e52f
5 changed files with 36 additions and 19 deletions

View File

@@ -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));
}