diff options
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js index 874827b16..96cadc65b 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -186,6 +186,8 @@ const onDOMContentLoaded = callback => { } } +const isRTL = document.documentElement.dir === 'rtl' + export { TRANSITION_END, getUID, @@ -201,5 +203,6 @@ export { noop, reflow, getjQuery, - onDOMContentLoaded + onDOMContentLoaded, + isRTL } |
