diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 4472dde7b..f81e37740 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -785,7 +785,7 @@ define([ var $container = $('', {'class':'limit-container'}); if (!data) { return void window.setTimeout(function () { - Cryptpad.isOverPinLimit(todo); + common.isOverPinLimit(todo); }, LIMIT_REFRESH_RATE); } var usage = data.usage; @@ -816,11 +816,11 @@ define([ $text.text(usage + ' / ' + limit + ' ' + unit); $limit.append($usage).append($text); window.setTimeout(function () { - Cryptpad.isOverPinLimit(todo); + common.isOverPinLimit(todo); }, LIMIT_REFRESH_RATE); cb(err, $container); }; - Cryptpad.isOverPinLimit(todo); + common.isOverPinLimit(todo); }; common.createButton = function (type, rightside, data, callback) {