Skip to content

Commit

Permalink
Move "data-js-lang" attr to "lang" on the html tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlog authored Jan 23, 2020
1 parent 02fa7b0 commit 6f1047f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Template/layout.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="<?= $this->app->jsLang() ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
Expand Down Expand Up @@ -56,7 +56,6 @@
data-login-url="<?= $this->url->href('AuthController', 'login') ?>"
data-keyboard-shortcut-url="<?= $this->url->href('DocumentationController', 'shortcuts') ?>"
data-timezone="<?= $this->app->getTimezone() ?>"
data-js-lang="<?= $this->app->jsLang() ?>"
data-js-date-format="<?= $this->app->getJsDateFormat() ?>"
data-js-time-format="<?= $this->app->getJsTimeFormat() ?>"
data-js-modal-close-msg="<?= t('Close window?\\n\\nChanges that you made have not been saved.') ?>"
Expand Down Expand Up @@ -85,4 +84,4 @@
</div>
<?php endif ?>
</body>
</html>
</html>

0 comments on commit 6f1047f

Please sign in to comment.