missing semicolon
This commit is contained in:
parent
54e8fb0d89
commit
5f6c859744
|
@ -187,7 +187,7 @@ export function validateUploadedFile(file, opts) {
|
||||||
// check that the uploaded file is authorized
|
// check that the uploaded file is authorized
|
||||||
if (Discourse.SiteSettings.allow_staff_to_upload_any_file_in_pm) {
|
if (Discourse.SiteSettings.allow_staff_to_upload_any_file_in_pm) {
|
||||||
if (opts["isPrivateMessage"] && Discourse.User.current("staff")) {
|
if (opts["isPrivateMessage"] && Discourse.User.current("staff")) {
|
||||||
return true
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue