fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor layout change.
[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
2c2daa5
..
377a969
100644
(file)
--- a/
src/wolnelektury/static/js/base.js
+++ b/
src/wolnelektury/static/js/base.js
@@
-74,6
+74,14
@@
$("iframe", this).attr("src", $("iframe", this).attr('data-src'));
});
$("iframe", this).attr("src", $("iframe", this).attr('data-src'));
});
+ $(".carousel").each(function() {
+ opts = {};
+ if ($('html').hasClass('media-eink')) {
+ opts.fx = 'none'
+ }
+ $(this).cycle(opts);
+ });
+
(function() {
var $current = null;
(function() {
var $current = null;
@@
-347,6
+355,13
@@
return false;
});
return false;
});
+ $("#id_method").val('payu-re');
+ $(".methods .button").click(function() {
+ $("#id_method").val($(this).attr('data-method'));
+ $(".methods .button").removeClass('active');
+ $(this).addClass("active");
+ });
+
});
})(jQuery);
});
})(jQuery);