summaryrefslogtreecommitdiff
path: root/modules/system/system.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.js')
-rw-r--r--modules/system/system.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.js b/modules/system/system.js
index 93f101f12..4d254033c 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -34,7 +34,7 @@ Drupal.cleanURLsSettingsCheck = function() {
*/
Drupal.cleanURLsInstallCheck = function() {
var pathname = location.pathname +"";
- var url = pathname.replace(/\/[^\/]*?$/, '/') +"node";
+ var url = pathname.replace(/\/[^/]*$/, "/") +"node";
$("#clean-url .description").append('<span><div id="testing">'+ Drupal.settings.cleanURL.testing +"</div></span>");
$("#clean-url.install").css("display", "block");
$.ajax({url: location.protocol +"//"+ location.host + url, type: "GET", data: " ", complete: function(response) {