[DE PE SSE mobile] Fix Bug 60186

This commit is contained in:
SergeyEzhin 2022-12-19 20:59:57 +04:00
parent 451798e680
commit afc2707d2c
3 changed files with 6 additions and 6 deletions

View file

@ -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');
}

View file

@ -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');
}

View file

@ -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');
}