fix undefined reference

This commit is contained in:
ansuz 2017-05-16 14:15:42 +02:00
parent 8fe0282b7b
commit afef456b18
1 changed files with 3 additions and 3 deletions

View File

@ -785,7 +785,7 @@ define([
var $container = $('<span>', {'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) {