summaryrefslogtreecommitdiffstats
path: root/core/js/backgroundjobs.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/backgroundjobs.js')
-rw-r--r--core/js/backgroundjobs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/backgroundjobs.js b/core/js/backgroundjobs.js
index 8d51d519c8d..499d8e88073 100644
--- a/core/js/backgroundjobs.js
+++ b/core/js/backgroundjobs.js
@@ -21,7 +21,7 @@
// start worker once page has loaded
$(document).ready(function(){
- $.get( OC.webroot+'/cron.php' );
+ $.get( OC.getRootPath()+'/cron.php' );
$('.section .icon-info').tooltip({
placement: 'right'