You've already forked AstralRinth
forked from didirus/AstralRinth
Minor bugfixes (#3338)
* Workaround linux firefox repeat issue * Nullcheck onShow/onHide functions
This commit is contained in:
@@ -67,7 +67,7 @@ function show() {
|
||||
}
|
||||
|
||||
function hide() {
|
||||
props.onHide()
|
||||
props.onHide?.()
|
||||
actuallyShown.value = false
|
||||
setTimeout(() => {
|
||||
shown.value = false
|
||||
|
||||
@@ -109,7 +109,7 @@ function show(event?: MouseEvent) {
|
||||
}
|
||||
|
||||
function hide() {
|
||||
props.onHide()
|
||||
props.onHide?.()
|
||||
visible.value = false
|
||||
document.body.style.overflow = ''
|
||||
document.body.style.paddingRight = ''
|
||||
|
||||
Reference in New Issue
Block a user