diff options
-rw-r--r-- | modules/system/system.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js index d589af166..92925c3a7 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -13,7 +13,7 @@ Drupal.behaviors.cleanURLsSettingsCheck = { // This behavior attaches by ID, so is only valid once on a page. // Also skip if we are on an install page, as Drupal.cleanURLsInstallCheck will handle // the processing. - if ($('.clean-url-processed, #edit-clean-url.install').size()) { + if (!($('#edit-clean-url').size()) || $('.clean-url-processed, #edit-clean-url.install').size()) { return; } var url = settings.basePath + 'admin/settings/clean-urls/check'; |