mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Fixed an issue with jquery selecting wrong selector on favorite
This commit is contained in:
4
src/interface/static/js/pyshelf_ux.js
vendored
4
src/interface/static/js/pyshelf_ux.js
vendored
@@ -12,7 +12,7 @@ $(document).ready(function(){
|
||||
var scr_height = window.outerHeight;
|
||||
var scr_width = window.outerWidth;
|
||||
var hdr_height = $('.app_hdr').height(); // Get our header height
|
||||
var ftr_height = $('.app_footer').height(); // Get our footer height
|
||||
var ftr_height = $('.app_footer').height(); // Get our footer height
|
||||
var nav_width = $('.nav_l').width(); // Get the width of our nav items
|
||||
var cmp_height = window.screen.availHeight;
|
||||
var max_height = win_height - (hdr_height + ftr_height) - (scr_height - win_height); // Set our available height
|
||||
@@ -75,7 +75,7 @@ $(document).ready(function(){
|
||||
$('#hdr_nav_login').toggle();
|
||||
});
|
||||
$('.favorite_action').on('click', function(){
|
||||
$(this).toggleClass('favorite');
|
||||
$(this).children('a').toggleClass('favorite');
|
||||
});
|
||||
$('#sortlist').change(function () {
|
||||
var optionSelected = $(this).find("option:selected");
|
||||
|
||||
Reference in New Issue
Block a user