CMS Development

josephLayden
Contributeur

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

Résolue

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 Votes
1 Solution acceptée
josephLayden
Solution
Contributeur

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

Résolue

@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!

Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
roisinkirby
Équipe de développement de HubSpot
Équipe de développement de HubSpot

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

Résolue

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 Votes
josephLayden
Solution
Contributeur

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

Résolue

@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 Votes