From 76678f0024da2b584c627af8aec992543b958573 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 2 Aug 2013 11:09:54 +1000 Subject: [PATCH] broken hinting fixed --- .../discourse/controllers/upload_selector_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/upload_selector_controller.js b/app/assets/javascripts/discourse/controllers/upload_selector_controller.js index 1305899de37..6ffaff60601 100644 --- a/app/assets/javascripts/discourse/controllers/upload_selector_controller.js +++ b/app/assets/javascripts/discourse/controllers/upload_selector_controller.js @@ -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); }