Move "data-js-lang" attribute to HTML "lang" attribute

This commit is contained in:
Slade
2019-11-19 21:15:15 -07:00
committed by Frédéric Guillot
parent aba2887396
commit e65045f934
3 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="<?= $this->app->jsLang() ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
@@ -48,7 +48,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() ?>"
>