Merge pull request #2149 from ONLYOFFICE/feature/fix-bugs

[DE PE SSE mobile] Fix Bug 60186
This commit is contained in:
maxkadushkin 2022-12-19 20:15:47 +03:00 committed by GitHub
commit d823738849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -14,8 +14,8 @@ class AddLinkController extends Component {
} }
closeModal () { closeModal () {
if ( Device.phone ) { if (Device.phone) {
f7.popup.close('.add-popup'); f7.popup.close('#add-link-popup');
} else { } else {
f7.popover.close('#add-link-popover'); f7.popover.close('#add-link-popover');
} }

View file

@ -27,8 +27,8 @@ class AddLinkController extends Component {
} }
closeModal () { closeModal () {
if ( Device.phone ) { if (Device.phone) {
f7.popup.close('.add-popup'); f7.popup.close('#add-link-popup');
} else { } else {
f7.popover.close('#add-link-popover'); f7.popover.close('#add-link-popover');
} }

View file

@ -115,8 +115,8 @@ class AddLinkController extends Component {
} }
closeModal () { closeModal () {
if ( Device.phone ) { if (Device.phone) {
f7.popup.close('.add-popup'); f7.popup.close('#add-link-popup');
} else { } else {
f7.popover.close('#add-link-popover'); f7.popover.close('#add-link-popover');
} }