X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/faef1a564460905fd4c78953bf2f7023b5a94fc7..d3a93004d1c30c99008cc44aebb7c1d7abce6c54:/wolnelektury/static/js/base.js diff --git a/wolnelektury/static/js/base.js b/wolnelektury/static/js/base.js index d8d31b3fa..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,10 @@ $('.open-player').click(function(event) { return false; }); + $('.hoverclick').click(function() {$(this).closest('.hoverget').toggleClass('hover');}); + + $(function(){ + $("#search").search();}); }); })(jQuery)