From afc2707d2c12bc789cb3549e6652fe3bc538f8b7 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Mon, 19 Dec 2022 20:59:57 +0400 Subject: [PATCH] [DE PE SSE mobile] Fix Bug 60186 --- apps/documenteditor/mobile/src/controller/add/AddLink.jsx | 4 ++-- apps/presentationeditor/mobile/src/controller/add/AddLink.jsx | 4 ++-- apps/spreadsheeteditor/mobile/src/controller/add/AddLink.jsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/documenteditor/mobile/src/controller/add/AddLink.jsx b/apps/documenteditor/mobile/src/controller/add/AddLink.jsx index 3c337e851..7258ecf3f 100644 --- a/apps/documenteditor/mobile/src/controller/add/AddLink.jsx +++ b/apps/documenteditor/mobile/src/controller/add/AddLink.jsx @@ -14,8 +14,8 @@ class AddLinkController extends Component { } closeModal () { - if ( Device.phone ) { - f7.popup.close('.add-popup'); + if (Device.phone) { + f7.popup.close('#add-link-popup'); } else { f7.popover.close('#add-link-popover'); } diff --git a/apps/presentationeditor/mobile/src/controller/add/AddLink.jsx b/apps/presentationeditor/mobile/src/controller/add/AddLink.jsx index 6d1721ae1..2e37adf42 100644 --- a/apps/presentationeditor/mobile/src/controller/add/AddLink.jsx +++ b/apps/presentationeditor/mobile/src/controller/add/AddLink.jsx @@ -27,8 +27,8 @@ class AddLinkController extends Component { } closeModal () { - if ( Device.phone ) { - f7.popup.close('.add-popup'); + if (Device.phone) { + f7.popup.close('#add-link-popup'); } else { f7.popover.close('#add-link-popover'); } diff --git a/apps/spreadsheeteditor/mobile/src/controller/add/AddLink.jsx b/apps/spreadsheeteditor/mobile/src/controller/add/AddLink.jsx index a42b989b4..1f086c14e 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/add/AddLink.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/add/AddLink.jsx @@ -115,8 +115,8 @@ class AddLinkController extends Component { } closeModal () { - if ( Device.phone ) { - f7.popup.close('.add-popup'); + if (Device.phone) { + f7.popup.close('#add-link-popup'); } else { f7.popover.close('#add-link-popover'); }