#177906 by douggreen: JavaScript cookie detection should use path=/ to avoid broken situations when run at a 'subdirectory'
parent
6143f13c41
commit
216322ac98
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue