diff --git a/src/js/helpers.js b/src/js/helpers.js index 6bf14ea..5ee28ef 100644 --- a/src/js/helpers.js +++ b/src/js/helpers.js @@ -1,6 +1,6 @@ export const isRTL = () => { const $html = document.querySelector('html') - return $html.getAttribute('lang') === 'ar' || $html.getAttribute('lang') === 'he' + return ['ar', 'he', 'fa'].includes($html.getAttribute('lang')) } export const isMobile = (width = '768px') => {