CMS Development

josephLayden
投稿者

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

解決

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 いいね!
1件の承認済みベストアンサー
josephLayden
解決策
投稿者

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

解決

@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 いいね!
2件の返信
roisinkirby
HubSpot製品開発チーム
HubSpot製品開発チーム

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

解決

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 いいね!
josephLayden
解決策
投稿者

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

解決

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