V2.0.9 Javascript error – plugin not working
-
After updating the plugin the lightbox doesn’t seem to work anymore. It’s giving this console error in firefox, ie11. I already rolled back the plugin to the previous version and it works again. Please fix this so I can update the plugin.
Console error:
SCRIPT5007: Unable to get property ‘0’ of undefined or null reference
lightbox.js (398,9)-> lightbox.js
switch($object.settings.openCloseType[0]){ case 'open_1': case 'open_2': case 'open_3': case 'open_4': case 'open_5': case 'open_1_r': case 'open_2_r': case 'open_3_r': case 'open_4_r': case 'open_5_r': setTimeout(function(){ $object.$cont.addClass('rwd-visible'); $('.rwd-container').addClass($object.settings.openCloseType[0]); }, 0); break; default: $('.rwd-container').addClass($object.settings.openCloseType[0]); setTimeout(function () { $object.$cont.addClass('rwd-visible'); }, this.settings.overlayDuration); break; }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘V2.0.9 Javascript error – plugin not working’ is closed to new replies.