aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/index.php b/en/index.php
index 9fa95a493..9c6004a76 100644
--- a/en/index.php
+++ b/en/index.php
@@ -8,7 +8,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">