diff options
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/recaptcha_modal.vue')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/recaptcha_modal.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue b/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue index 55172649813..25701df33f3 100644 --- a/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue +++ b/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue @@ -32,6 +32,10 @@ export default { mounted() { eventHub.$on('submit', this.submit); + + if (this.html) { + this.appendRecaptchaScript(); + } }, beforeDestroy() { |