1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/11552] Add .nojs or .hasjs to body

Add .nojs to body element, swap it to .hasjs when
JavaScript is enabled

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-09-14 22:56:40 +03:00
parent befffe7472
commit a189c38853
3 changed files with 5 additions and 2 deletions

View File

@@ -49,7 +49,7 @@
{$STYLESHEETS}
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div id="wrap">
<a id="top" accesskey="t"></a>