summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/drupal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/drupal.js b/misc/drupal.js
index e28dc2c8b..c7e955aae 100644
--- a/misc/drupal.js
+++ b/misc/drupal.js
@@ -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);
}