Code layout change.
[wolnelektury.git] / 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 (file)
index 0000000..4fe27bd
--- /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, scrollbars=1'
+        );
+});
+
+
+
+    });
+})(jQuery);
+