• Resolved andrejm

    (@andrejm)


    Hi,

    I appreciate your fixes in /js/front.js file with the latest update, however I think you missed few things still.

    Checking for undefined with typeof operator returns string, therefore

    typeof attr !== undefined

    triggers Uncaught TypeError: Cannot read property ‘match’ of undefined on line 124 of front.js

    AFAIK the correct way of checking this is

    typeof attr !== 'undefined'

    This causes the lightbox ti malfunction (I am using Nivo lightbox option)

    Thanks for fixing this!

    https://ww.wp.xz.cn/plugins/responsive-lightbox/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘front.js throws error’ is closed to new replies.