From 2862c4e5a3027fd7f2bcb552bfddab3c0b09a967 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 23 Mar 2016 13:59:17 +0800 Subject: [PATCH] FIX: Quote reply button was covered by iOS menu. --- .../javascripts/discourse/controllers/quote-button.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/quote-button.js.es6 b/app/assets/javascripts/discourse/controllers/quote-button.js.es6 index b946cef8ea5..53f711f8d31 100644 --- a/app/assets/javascripts/discourse/controllers/quote-button.js.es6 +++ b/app/assets/javascripts/discourse/controllers/quote-button.js.es6 @@ -85,7 +85,7 @@ export default Ember.Controller.extend({ let topOff = markerOffset.top; let leftOff = markerOffset.left; - if (isMobileDevice) { + if (isMobileDevice || this.capabilities.isIOS) { topOff = topOff + 20; leftOff = Math.min(leftOff + 10, $(window).width() - $quoteButton.outerWidth()); } else {