fix #2036, fix #2078: more audiobook links
[wolnelektury.git] / apps / catalogue / static / player / openplayer.js
diff --git a/apps/catalogue/static/player/openplayer.js b/apps/catalogue/static/player/openplayer.js
new file mode 100644 (file)
index 0000000..e8da79c
--- /dev/null
@@ -0,0 +1,18 @@
+(function($) {
+    $(function() {
+
+
+
+$('.open-player').click(function(event) {
+    event.preventDefault();
+    window.open($(this).attr('href'),
+        'player',
+        'width=422, height=500'
+        );
+});
+
+
+
+    });
+})(jQuery);
+