CMS Development

josephLayden
Mitwirkender/Mitwirkende

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

lösung

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 Upvotes
1 Akzeptierte Lösung
josephLayden
Lösung
Mitwirkender/Mitwirkende

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

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten
roisinkirby
HubSpot-Produktteam
HubSpot-Produktteam

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

lösung

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 Upvotes
josephLayden
Lösung
Mitwirkender/Mitwirkende

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

lösung

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