In your SharePoint online page with webparts (custom views and scripts) when you restore a previous version of the page, the message “The current page has been customized from its template. Revert to template” is displayed at the top of the page.
Yes, I know it is customized from the template. And yes, I am the culprit and it was intentional for I wanted a previous version restored!
Click Revert to template(providing its just restoring that caused it, you are promptly warned about the same)
If you are unsure, then make sure you copy all your custom scripts from the page. Revert the template and you can add them again.(I didn’t have to…but ya know, that makes the best sense!)
Don’t want to go through that? Need to fix it pronto before a demo and just have 4mins and 20 seconds-yes, I timed it, including a restroom break too in between(?!?) Just hide that div using ScriptEditor webpart or including it in one of your existing scripts!