Viewing 1 replies (of 1 total)
  • bkf0

    (@bentleykfrog)

    I second this.

    The javascript error ‘TypeError: $.wpcf7SupportHtml5 is not a function’ occurs in Firefox when webpages are properly cached. If loaded without the cache enabled the error does not occur.

    When the page is cached the onload event has already fired when the browser reads the scripts.js file, so the $(function() { enclosure becomes irrelevant.

    Moving lines #8-#11 in scripts.js so it’s after $.wpcf7SupportHtml5 = function() { solves this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘wpcf7SupportHtml5 in undefined on cached page’ is closed to new replies.