Skip to content

Commit

Permalink
Update packages/@uppy/core/src/UIPlugin.js
Browse files Browse the repository at this point in the history
Co-authored-by: Renée Kooi <[email protected]>
  • Loading branch information
arturi and goto-bus-stop authored May 9, 2022
1 parent b9719be commit f91af00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/core/src/UIPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class UIPlugin extends BasePlugin {
targetElement.appendChild(uppyRootElement)

// Set the text direction if the page has not defined one.
uppyRootElement.dir = this.opts.direction || getTextDirection(uppyRootElement) || 'ltr'
uppyRootElement.dir = this.opts.direction ?? getTextDirection(uppyRootElement) ?? 'ltr'

this.onMount()

Expand Down

0 comments on commit f91af00

Please sign in to comment.