Add goal page: clear page path when configuring custom event goal

Fixes #796
This commit is contained in:
Uku Taht 2021-03-31 16:19:21 +03:00
parent ef0efa2d63
commit 0d07476e32

View File

@ -35,5 +35,6 @@
document.getElementById('pageview-fields').classList.add('hidden') document.getElementById('pageview-fields').classList.add('hidden')
document.getElementById('pageview-tab').classList.remove('shadow-inner', 'font-bold', 'bg-indigo-600', 'text-white') document.getElementById('pageview-tab').classList.remove('shadow-inner', 'font-bold', 'bg-indigo-600', 'text-white')
document.getElementById('pageview-tab').classList.add('dark:text-gray-100') document.getElementById('pageview-tab').classList.add('dark:text-gray-100')
document.getElementById('goal_page_path').value = ''
} }
</script> </script>