Jump to content

Script breaks site edit functionality

Go to solution Solved by tuanphan,

Recommended Posts


Since the update of our site sections to fluid engine, our custom script on the title page breaks the site edit functionality in site editor. All I get is "Try Again" when clicking Edit Section.  When I remove the script from code block, the site works fine. The script was coded by contracted professional 2 years ago. I was hoping someone could look at the site, and let me know what in the script is causing the site to break. 

The site is https://liptovskydvor.sk

Many thanks,


Edited by michael_n
Link to comment
  • Replies 4
  • Views 371
  • Created
  • Last Reply

Top Posters In This Topic

Can you share the script? What is it supposed to do? It may have some incorrect classes give the update.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment


Sure: https://codeshare.io/K8El6N

The script is a simple booking widget in js where customer selects number of adults and children with their age and sends the data to booking provider through their API. It is in Slovak language, but you can switch the site language and will see it in English.

It was custom coded for this purpose.




Edited by michael_n
typo correction
Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.