beans_replace_nojs_class

Print inline JavaScript in the footer to replace the 'no-js' class with 'js'.

beans_replace_nojs_class( )

Return: (void)

Source

function beans_replace_nojs_class() {

	?><script type="text/javascript">
		(function() {
			document.body.className = document.body.className.replace('no-js','js');
		}());
	</script><?php

}