diff --git a/views/credit_cards.slim b/views/credit_cards.slim index 98f369868743707993eb2960d7ddd8746848eb9a..05ca9e6ad48f222334da2be17374b9a4e7979627 100644 --- a/views/credit_cards.slim +++ b/views/credit_cards.slim @@ -77,7 +77,7 @@ javascript: instance._mainView.hideLoadingIndicator(); if(response.status === 200) { - if (xmpp_xep0050) xmpp_xep0050.execute(); + if (window.xmpp_xep0050) window.xmpp_xep0050.execute(); } else { return Promise.reject(response); }