From b8068b2ae891d186f8fd7cc01b5c64f6b83ead44 Mon Sep 17 00:00:00 2001 From: lepipele Date: Thu, 18 Jan 2018 09:48:21 -0600 Subject: [PATCH] Vue ignoring custom HTML5 elements Ref: https://github.com/btcpayserver/btcpayserver/issues/34#issuecomment-358541767 --- BTCPayServer/wwwroot/js/core.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BTCPayServer/wwwroot/js/core.js b/BTCPayServer/wwwroot/js/core.js index 22b37b7b9..5de0cf34e 100644 --- a/BTCPayServer/wwwroot/js/core.js +++ b/BTCPayServer/wwwroot/js/core.js @@ -14,6 +14,12 @@ */ // TODO: Vue controller... complete migrate to it for binding, animations can stay in jQuery +Vue.config.ignoredElements = [ + 'line-items', + 'low-fee-timeline', + // Ignoring custom HTML5 elements, eg: bp-spinner + /^bp-/ +] var checkoutCtrl = new Vue({ el: '#checkoutCtrl', components: {