From 398004c59c0842bd509713ffc1b4426d16da5df4 Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Wed, 23 Nov 2016 11:14:36 +0300 Subject: [PATCH] [DE mobile] Fixed display context menu. --- apps/documenteditor/mobile/app/view/DocumentHolder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/app/view/DocumentHolder.js b/apps/documenteditor/mobile/app/view/DocumentHolder.js index f446b1f3e..045009b23 100644 --- a/apps/documenteditor/mobile/app/view/DocumentHolder.js +++ b/apps/documenteditor/mobile/app/view/DocumentHolder.js @@ -149,7 +149,7 @@ define([ $('#' + _anchorId) .css('left', posX) - .css('top', posY); + .css('top', Math.max(0, posY)); uiApp.closeModal('.document-menu.modal-in');