fix(ecommerce/cart): explicitly set frappe.boot (#33431)

related: https://github.com/frappe/frappe/pull/18323

Signed-off-by: Sabu Siyad <hello@ssiyad.com>

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad
2023-01-02 08:58:01 +05:30
committed by GitHub
parent 98c39c4f5f
commit 010718ffed

View File

@@ -55,6 +55,7 @@
{% endif %} {% endif %}
<script> <script>
frappe.boot = {{ boot }}
frappe.ready(() => { frappe.ready(() => {
$(document).on('click', '.address-card', (e) => { $(document).on('click', '.address-card', (e) => {
const $target = $(e.currentTarget); const $target = $(e.currentTarget);