summaryrefslogtreecommitdiff
path: root/js/webtrees-1.5.2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/webtrees-1.5.2.js')
-rw-r--r--js/webtrees-1.5.2.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/webtrees-1.5.2.js b/js/webtrees-1.5.2.js
index 842a063620..3df82eae46 100644
--- a/js/webtrees-1.5.2.js
+++ b/js/webtrees-1.5.2.js
@@ -1492,3 +1492,11 @@ function activate_colorbox(config) {
// Allow all other media types remain as download links
});
}
+
+// Add LTR/RTL support for jQueryUI Accordions
+jQuery.extend($.ui.accordion.prototype.options, {
+ icons: {
+ header: textDirection === "rtl" ? "ui-icon-triangle-1-w" : "ui-icon-triangle-1-e",
+ activeHeader: "ui-icon-triangle-1-s"
+ }
+});