Tab switch default behaviour shifted to correct location
This commit is contained in:
parent
b44a7fb288
commit
3a70426e3e
|
@ -36,11 +36,11 @@
|
|||
selected = $tab.title
|
||||
dispatch("select", thisSelected)
|
||||
}
|
||||
} else {
|
||||
thisSelected = $tab.title
|
||||
selected = $tab.title
|
||||
dispatch("select", thisSelected)
|
||||
}
|
||||
} else {
|
||||
thisSelected = $tab.title
|
||||
selected = $tab.title
|
||||
dispatch("select", thisSelected)
|
||||
}
|
||||
if ($tab.title !== thisSelected) {
|
||||
tab.update(state => {
|
||||
|
|
Loading…
Reference in New Issue