fix: minor fix
This commit is contained in:
parent
ac393773be
commit
244b2cbb60
2 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ function delete_tab(with_children) {
|
|||
<button
|
||||
class="remove-tab-btn btn btn-xs"
|
||||
:title="__('Remove tab')"
|
||||
@click="remove_tab"
|
||||
@click.stop="remove_tab"
|
||||
>
|
||||
<div v-html="frappe.utils.icon('remove', 'xs')"></div>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ export const useStore = defineStore("form-builder-store", () => {
|
|||
|
||||
// scroll to active tab
|
||||
nextTick(() => {
|
||||
$(".tabs .tab.active")[0].scrollIntoView({
|
||||
$(".tabs .tab.active")[0]?.scrollIntoView({
|
||||
behavior: "smooth",
|
||||
inline: "center",
|
||||
block: "nearest",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue