mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
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…
x
Reference in New Issue
Block a user