jplayer
[wolnelektury.git] / wolnelektury / static / js / base.js
index b569383..028ab33 100755 (executable)
@@ -8,6 +8,15 @@ $('#themes-list-toggle').click(function(event) {
 });
 
 
+$('.open-player').click(function(event) {
+    event.preventDefault();
+    window.open($(this).attr('href'),
+        'player',
+        'width=420, height=500'
+        );
+});
+
+
     });
 })(jQuery)