Javascript error disables galleries and dynamic layout

  • Unknown's avatar

    I’m using the Apostrophe theme in this particular blog.

    Since yesterday, the blog has lost its dynamic layout ability (the home page’s blocks are out of place, for example) and galleries no longer work properly. This appears to be due to an error in a javascript resource which is making the browser completely ignore and disable any remaining javascript functionality in the website.

    This appears to be theme specific as I have other blogs with other themes which are working fine.

    The error firefox complains about is:


    "SyntaxError: missing ) after condition"

    at position 12:60 of a javascript resource named “_static”.

    The specific block of code appears to be:


    if ( element ) {
    if ( ! / ^(?:a | select | input | button | textarea)$ / i.test( element.tagName ) ) {
    element.tabIndex = -1; }

    element.focus();
    }

    This error happens across other browsers, so it doesn’t appear to be a browser issue either.

    Is it possible to take a look at what is going on? Many Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    This seems to have fixed itself overnight.
    Or, more likely, its developers fixed it whilst I was sleeping. :)
    Good job anyway, I’ll mark this as resolved.

  • The topic ‘Javascript error disables galleries and dynamic layout’ is closed to new replies.