X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cb40f164b028883a2fc061307383d0aa98f8b609..e5e8226c4d4bd610de5983e69b1b13684a17fe75:/wolnelektury/static/js/base.js diff --git a/wolnelektury/static/js/base.js b/wolnelektury/static/js/base.js index 7c02f030a..32cdd7068 100755 --- a/wolnelektury/static/js/base.js +++ b/wolnelektury/static/js/base.js @@ -101,7 +101,7 @@ $('.open-player').click(function(event) { event.preventDefault(); window.open($(this).attr('href'), 'player', - 'width=420, height=500' + 'width=422, height=500' ); }); @@ -114,6 +114,8 @@ $('.open-player').click(function(event) { return false; }); + $('.hoverclick').click(function() {$(this).closest('.hoverget').toggleClass('hover');}); + $(function(){ $("#search").search();});