added no-js class
This commit is contained in:
parent
17bee238a0
commit
0a5f71877d
3 changed files with 6 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ if (!defined('DOKU_INC')) die();
|
|||
|
||||
?><!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
|
||||
|
|
@ -21,6 +21,7 @@ if (!defined('DOKU_INC')) die();
|
|||
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
|
||||
[<?php echo strip_tags($conf['title'])?>]
|
||||
</title>
|
||||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||||
<?php tpl_metaheaders()?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue