From cba763a162b6ca14edcb59cf1b77ccf3c2d100e7 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Sun, 20 Nov 2016 10:11:16 +0800 Subject: [PATCH] Revert "FIX: Login was broken on mobile" This reverts commit fe94c5f9a56f6e451121d3cd8ef608aee4be72dd. --- 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 7a3808c266a..e34d7398ef0 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', view: 'modal-body'}; + const renderArgs = { into: 'modal', outlet: 'modalBody'}; 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 +};