CMS Development

josephLayden
Colaborador

HS loads js src twice, causing error due to duplicate values

resolver

I am adding script to the Content Settings Blog page.  Style in the header, script in the footer.  No other template or page has the script or style.  Script loads twice at the end of the body, causing error "multiple babel polyfill"

Screen Shot 2018-02-12 at 12.17.45 PM.png

 

0 Me gusta
1 Soluciones aceptada
josephLayden
Solución
Colaborador

HS loads js src twice, causing error due to duplicate values

resolver

@roisinkirby I moved all of the file calls to the template level and no longer receive the error.  I did contact HubSpot however my timeline was limited.  Thanks!

Ver la solución en mensaje original publicado

0 Me gusta
2 Respuestas 2
roisinkirby
Equipo de producto de HubSpot
Equipo de producto de HubSpot

HS loads js src twice, causing error due to duplicate values

resolver

Hey @josephLayden are you still experiencing this error? I would reccommend calling into HubSPot Support to see if they can reproduce and troubleshoot with you. 

0 Me gusta
josephLayden
Solución
Colaborador

HS loads js src twice, causing error due to duplicate values

resolver

@roisinkirby I moved all of the file calls to the template level and no longer receive the error.  I did contact HubSpot however my timeline was limited.  Thanks!

0 Me gusta