summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/install.php b/install.php
index 5b4e3f865..87ac52bc5 100644
--- a/install.php
+++ b/install.php
@@ -728,13 +728,7 @@ function install_tasks($profile, $task) {
// We add these strings as settings because JavaScript translation does not
// work on install time.
drupal_add_js(array('copyFieldValue' => array('edit-site-mail' => array('edit-account-mail'))), 'setting');
- drupal_add_js('
-// Global Killswitch
-if (Drupal.jsEnabled) {
- jQuery(document).ready(function() {
- Drupal.cleanURLsInstallCheck();
- });
-}', 'inline');
+ drupal_add_js('jQuery(function() { Drupal.cleanURLsInstallCheck(); });', 'inline');
// Build menu to allow clean URL check.
menu_rebuild();