You've already forked AstralRinth
forked from didirus/AstralRinth
Fix advanced rendering, ads showing over modals (#3029)
This commit is contained in:
@@ -21,8 +21,11 @@ const props = defineProps({
|
||||
return () => {}
|
||||
},
|
||||
},
|
||||
showAdOnClose: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
})
|
||||
|
||||
const modal = ref(null)
|
||||
|
||||
defineExpose({
|
||||
@@ -37,7 +40,9 @@ defineExpose({
|
||||
})
|
||||
|
||||
function onModalHide() {
|
||||
show_ads_window()
|
||||
if (props.showAdOnClose) {
|
||||
show_ads_window()
|
||||
}
|
||||
props.onHide()
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user