Never include Stripe checking in LDN
Instead, we always load it from Stripe when billing is enabled. Also fixes our Stripe icon.
This commit is contained in:
parent
7d620bc6a7
commit
a06bda5910
3 changed files with 4 additions and 1 deletions
|
@ -167,6 +167,10 @@ def render_page_template(name, route_data=None, **kwargs):
|
|||
external_styles = get_external_css(local=not use_cdn)
|
||||
external_scripts = get_external_javascript(local=not use_cdn)
|
||||
|
||||
# Add Stripe checkout if billing is enabled.
|
||||
if features.BILLING:
|
||||
external_scripts.append('//checkout.stripe.com/checkout.js')
|
||||
|
||||
def add_cachebusters(filenames):
|
||||
cachebusters = get_cache_busters()
|
||||
for filename in filenames:
|
||||
|
|
Reference in a new issue