fix: handle case if position is not defined
This commit is contained in:
parent
df9386208a
commit
92ef59e8e2
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ frappe.ui.form.FormTour = class FormTour {
|
|||
return {
|
||||
element,
|
||||
name,
|
||||
popover: { title, description, position: frappe.router.slug(position) },
|
||||
popover: { title, description, position: frappe.router.slug(position || 'Bottom') },
|
||||
onNext: on_next
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue