fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set null on user delete.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
base.js
diff --git
a/src/wolnelektury/static/js/base.js
b/src/wolnelektury/static/js/base.js
index
8502d62
..
7d311fc
100644
(file)
--- a/
src/wolnelektury/static/js/base.js
+++ b/
src/wolnelektury/static/js/base.js
@@
-74,7
+74,13
@@
$("iframe", this).attr("src", $("iframe", this).attr('data-src'));
});
$("iframe", this).attr("src", $("iframe", this).attr('data-src'));
});
- $(".media-eink .carousel").cycle({fx: "none"});
+ $(".carousel").each(function() {
+ opts = {};
+ if ($('html').hasClass('media-eink')) {
+ opts.fx = 'none'
+ }
+ $(this).cycle(opts);
+ });
(function() {
(function() {