Commit 216322ac authored by Gábor Hojtsy's avatar Gábor Hojtsy

#177906 by douggreen: JavaScript cookie detection should use path=/ to avoid...

#177906 by douggreen: JavaScript cookie detection should use path=/ to avoid broken situations when run at a 'subdirectory'
parent 6143f13c
......@@ -339,7 +339,7 @@ if (Drupal.jsEnabled) {
// Global Killswitch on the <html> element
document.documentElement.className = 'js';
// 'js enabled' cookie
document.cookie = 'has_js=1';
document.cookie = 'has_js=1; path=/';
// Attach all behaviors.
$(document).ready(Drupal.attachBehaviors);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment