[DE PE SSE mobile] Fix Bug 60186
This commit is contained in:
parent
451798e680
commit
afc2707d2c
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue