X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/catalogue/static/player/openplayer.js diff --git a/src/catalogue/static/player/openplayer.js b/src/catalogue/static/player/openplayer.js new file mode 100644 index 000000000..4fe27bd31 --- /dev/null +++ b/src/catalogue/static/player/openplayer.js @@ -0,0 +1,18 @@ +(function($) { + $(function() { + + + +$('.open-player').click(function(event) { + event.preventDefault(); + window.open($(this).attr('href'), + 'player', + 'width=422, height=500, scrollbars=1' + ); +}); + + + + }); +})(jQuery); +