front.js throws error
-
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 !== undefinedtriggers 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!
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.