mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix js error on redirect
This commit is contained in:
1 parent
4e4354af99
commit
41b38cc594
1 file changed
+1
-1
@@ -1776,7 +1776,7 @@ export default {
|
||||
window.location.href = sanitizeUrl(this.completedRedirectUrl)
|
||||
} else {
|
||||
this.$nextTick(() => {
|
||||
const root = this.$root.$el.parentNode.getRootNode()
|
||||
const root = this.$root.$el.parentNode?.getRootNode() || document
|
||||
const completedEl = root.getElementById('form_completed')
|
||||
|
||||
if (completedEl) {
|
||||
|
||||
Reference in new issue
Block a user