Replace old crisp mentions
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
Templates
|
||||
</router-link>
|
||||
<a href="#" class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1"
|
||||
@click.prevent="$getCrisp().push(['do', 'helpdesk:search'])" v-if="hasCrisp"
|
||||
@click.prevent="$crisp.push(['do', 'helpdesk:search'])" v-if="hasCrisp"
|
||||
>
|
||||
Help
|
||||
</a>
|
||||
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
this.createdFormId = response.data.form.id
|
||||
|
||||
this.$logEvent('form_created', {form_id: response.data.form.id, form_slug: response.data.form.slug})
|
||||
this.$getCrisp().push(['set', 'session:event', [[['form_created', {
|
||||
this.$crisp.push(['set', 'session:event', [[['form_created', {
|
||||
form_id: response.data.form.id,
|
||||
form_slug: response.data.form.slug
|
||||
}, 'blue']]]])
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<small>If the submission has the same value(s) as a previous one for the selected
|
||||
column(s), we will update it, instead of creating a new one.
|
||||
<a href="#"
|
||||
@click.prevent="$getCrisp().push(['do', 'helpdesk:article:open', ['en', 'how-to-update-a-page-on-form-submission-1t1jwmn']])">More
|
||||
@click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-update-a-page-on-form-submission-1t1jwmn']])">More
|
||||
info here.</a>
|
||||
</small>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</template>
|
||||
<p class="mt-4">
|
||||
The code will be injected in the <span class="font-semibold">head</span> section of your form page. <a href="#" class="text-gray-500"
|
||||
@click.prevent="$getCrisp().push(['do', 'helpdesk:article:open', ['en', 'how-to-inject-custom-code-in-my-form-1amadj3']])"
|
||||
@click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-inject-custom-code-in-my-form-1amadj3']])"
|
||||
>Click
|
||||
here to get an example CSS code.</a>
|
||||
</p>
|
||||
|
||||
@@ -20,7 +20,6 @@ export default {
|
||||
loadCrisp () {
|
||||
if (this.isIframe || !window.config.crisp_website_id) return
|
||||
|
||||
window.$crisp = []
|
||||
window.CRISP_WEBSITE_ID = window.config.crisp_website_id
|
||||
|
||||
const script = document.createElement('script')
|
||||
|
||||
Reference in New Issue
Block a user