fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
apps/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'
+ );
+});
+
+
+
+ });
+})(jQuery);
+