Commit d2cf0e8b authored by Sven Franck's avatar Sven Franck

libs/jqm: fixed carousel extension theme

parent a6bc0b00
......@@ -1578,6 +1578,7 @@
* "type": "carousel",
* "property_dict" : {
* "id": null,
* "theme": null,
* "class_list": null,
* "handles": null,
* "bullets": true,
......@@ -1674,7 +1675,8 @@
(spec.shadow ? " ui-shadow" : empty_string) +
(spec.captions ? " ui-carousel-captions" : empty_string) +
(spec.inset ? " ui-carousel-inset" : empty_string) +
(spec.corners ? " ui-corner-all" : empty_string)))
(spec.corners ? " ui-corner-all" : empty_string))) +
("ui-body-" + (spec.theme || "inherit"))
},
"attributes": {
"data-enhanced": true,
......@@ -2423,7 +2425,7 @@
"type": "p",
"direct": {
"className": "ui-carousel-captions-content" +
" ui-bar-" + (config.theme || "inherit") +
" ui-bar-" + (config.theme || config.captiontheme || "inherit") +
" ui-carousel-captions-" + (config.captionpos || "bottom")
}
});
......@@ -2431,7 +2433,7 @@
"type": "h1",
"direct": {"className": "ui-carousel-captions-heading"},
"logic": {
"text": spec.text || ""
"text": spec.text || spec.value || ""
}
}));
return [container, ""];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment