FIX: Quote reply button was covered by iOS menu.

This commit is contained in:
Guo Xiang Tan 2016-03-23 13:59:17 +08:00
parent c095304d6d
commit 2862c4e5a3

View File

@ -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 {