missing semicolon

This commit is contained in:
Régis Hanol 2017-06-12 23:01:38 +02:00
parent 54e8fb0d89
commit 5f6c859744
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export function validateUploadedFile(file, opts) {
// check that the uploaded file is authorized
if (Discourse.SiteSettings.allow_staff_to_upload_any_file_in_pm) {
if (opts["isPrivateMessage"] && Discourse.User.current("staff")) {
return true
return true;
}
}