mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 21:14:41 +08:00
FIX: Broken build
This commit is contained in:
@ -200,7 +200,7 @@ Discourse.Utilities = {
|
||||
var fileSizeKB = file.size / 1024;
|
||||
var maxSizeKB = Discourse.SiteSettings['max_' + type + '_size_kb'];
|
||||
if (fileSizeKB > maxSizeKB) {
|
||||
bootbox.alert(I18n.t('post.errors.' + type + '_too_large', { max_size_kb: maxSizeKB }));
|
||||
bootbox.alert(I18n.t('post.errors.file_too_large', { max_size_kb: maxSizeKB }));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user