diff --git a/src/js/captions.js b/src/js/captions.js index 856baccf..c22a1ddb 100644 --- a/src/js/captions.js +++ b/src/js/captions.js @@ -47,6 +47,7 @@ const captions = { // Inject the container if (!is.element(this.elements.captions)) { this.elements.captions = createElement('div', getAttributesFromSelector(this.config.selectors.captions)); + this.elements.captions.setAttribute('dir', 'auto'); insertAfter(this.elements.captions, this.elements.wrapper); }