diff --git a/core/js/js.js b/core/js/js.js index 8c6fc0d9c07cdf6f520f36d4c395e95381f2673a..370e68f560242559219e70522bec279e63c269f6 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1351,7 +1351,7 @@ function initCore() { var url = OC.generateUrl('/heartbeat'); var heartBeatTimeout = null; var heartBeat = function() { - clearTimeout(heartBeatTimeout); + clearInterval(heartBeatTimeout); heartBeatTimeout = setInterval(function() { $.post(url); }, interval * 1000);