diff --git a/js/flush.js b/js/flush.js index 9b2f23f..d1fc020 100644 --- a/js/flush.js +++ b/js/flush.js @@ -14,7 +14,9 @@ Drupal.behaviors.flush = { // Run the Flush with Ctrl + alt + F. if (event.ctrlKey === true && event.altKey === true && event.keyCode === 70) { - window.location = '/admin/flush/run'; + var foo = window.location.pathname+'/admin/flush/run'; + //alert(foo); + window.location = foo; event.preventDefault(); }