Skip to content
Snippets Groups Projects
Commit a14cb3df authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#272636 by evolvingweb, dvessel: add 'js' class to html tag in drupal.js...

#272636 by evolvingweb, dvessel: add 'js' class to html tag in drupal.js instead of overwriting all its classes with 'js'
parent 9c1738f7
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ Drupal.ahahError = function(xmlhttp, uri) {
// Global Killswitch on the <html> element
if (Drupal.jsEnabled) {
// Global Killswitch on the <html> element
document.documentElement.className = 'js';
$(document.documentElement).addClass('js');
// 'js enabled' cookie
document.cookie = 'has_js=1; path=/';
// Attach all behaviors.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment