Skip to content

Add the class "no-js" or "js" if JavaScript is enabled or not (Contao CMS)

Notifications You must be signed in to change notification settings

lionel-m/classjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Add the class "no-js" or "js" if JavaScript is enabled or not (Contao CMS)

Latest Stable Version License

This extension adds the default no-js class. It replaces the class no-js with js if JavaScript is enabled.

<html class="no-js">
...
</html>

Installation

Add "lionel/classjs": "~3.0" in the composer.json file.

Add new LionelM\ClassJsBundle\LionelMClassJsBundle(), in the app/AppKernel.php file.

Run the command php composer.phar update classjs.

About

Add the class "no-js" or "js" if JavaScript is enabled or not (Contao CMS)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages