From fe94c5f9a56f6e451121d3cd8ef608aee4be72dd Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Sat, 19 Nov 2016 21:13:25 -0200 Subject: [PATCH] FIX: Login was broken on mobile --- app/assets/javascripts/discourse/lib/show-modal.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/lib/show-modal.js.es6 b/app/assets/javascripts/discourse/lib/show-modal.js.es6 index e34d7398ef0..7a3808c266a 100644 --- a/app/assets/javascripts/discourse/lib/show-modal.js.es6 +++ b/app/assets/javascripts/discourse/lib/show-modal.js.es6 @@ -18,7 +18,7 @@ export default function(name, opts) { } else { const templateName = opts.templateName || Ember.String.dasherize(name); - const renderArgs = { into: 'modal', outlet: 'modalBody'}; + const renderArgs = { into: 'modal', outlet: 'modalBody', view: 'modal-body'}; if (controller) { renderArgs.controller = controllerName; } const modalName = `modal/${templateName}`; @@ -38,4 +38,4 @@ export default function(name, opts) { } return controller; -}; +}; \ No newline at end of file