diff --git a/gui/slick/js/displayShow.js b/gui/slick/js/displayShow.js index 428ad16d..756fcca1 100644 --- a/gui/slick/js/displayShow.js +++ b/gui/slick/js/displayShow.js @@ -5,9 +5,9 @@ $(document).ready(function () { $('#sbRoot').ajaxEpSubtitlesSearch(); $('#seasonJump').change(function () { - var id = $(this).val(); + var id = $('#seasonJump option:selected').val(); if (id && id != 'jump') { - $('html,body').animate({scrollTop: $(id).offset().top}, 'slow'); + $('html,body').animate({scrollTop: $('[name ="' + id.substring(1) + '"]').offset().top - 50}, 'slow'); location.hash = id; } $(this).val('jump');