mirror of https://github.com/xwiki-labs/cryptpad
stop using an API that doesn't exist anymore
This commit is contained in:
parent
d7f675ef8e
commit
0f931f4ca0
|
@ -496,7 +496,7 @@ define([
|
|||
}
|
||||
var size = Array.isArray(obj) && obj[0];
|
||||
if (typeof(size) !== "number") { return; }
|
||||
UI.alert(Util.getPrettySize(size, Messages));
|
||||
UI.alert(getPrettySize(size));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue