broken hinting fixed

This commit is contained in:
Sam 2013-08-02 11:09:54 +10:00
parent d343d512b9
commit 76678f0024
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Discourse.UploadSelectorController = Discourse.Controller.extend(Discourse.Modal
Discourse.UploadSelectorController.reopenClass({
translate: function(key, options) {
opts = options || {};
var opts = options || {};
if (Discourse.Utilities.allowsAttachments()) { key += "_with_attachments"; }
return I18n.t("upload_selector." + key, opts);
}