Return false on toggle on error pages
Merge pull request #9313 from bkzl/return-false-on-toggle-on-error-pages

Return false in toggle function on error pages