From b05f6ddbe135988c45314a08010d928d919e96e9 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 10 Nov 2015 12:55:21 -0500 Subject: [PATCH] FIX: Add back in footer padding. iPad is broken for other reasons. --- app/assets/javascripts/discourse/views/composer.js.es6 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/views/composer.js.es6 b/app/assets/javascripts/discourse/views/composer.js.es6 index 61a9452ea95..d811c6fdf89 100644 --- a/app/assets/javascripts/discourse/views/composer.js.es6 +++ b/app/assets/javascripts/discourse/views/composer.js.es6 @@ -21,13 +21,10 @@ const ComposerView = Ember.View.extend(Ember.Evented, { return composeState || Composer.CLOSED; }, - movePanels() { + movePanels(sizePx) { - // Do we need these anymore? causes issues on iPad. Reply sometimes does not - // show composer due to bottom padding. - - // $('#main-outlet').css('padding-bottom', sizePx); - // $('.composer-popup').css('bottom', sizePx); + $('#main-outlet').css('padding-bottom', sizePx); + $('.composer-popup').css('bottom', sizePx); // signal the progress bar it should move! this.appEvents.trigger("composer:resized");