Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi dear user.

    We will try to resolve this problem and update our plugin as soon as it possible.

    Hope for your patience.

    Best regards,
    WpDevArt support team.

    Fix is simple and caused by very bad programming style (checking version instead of feature is bad and comparing version as float is even worse):

    if(parseFloat($().jquery) >= 1.7){
    			return $(this).on("click", onClick);
            }else{
    			return $(this).live("click", onClick); //deprecated since 1.7
    		}

    Replace these lines (in wp-lightbox-2.js and …min.js) with:
    return $(this).on("click", onClick);

    Everything should work.

    Dear Michael Zangl,

    Thanks a lot for your support.

    Best regards,
    WpDevArt support team.

    Thread Starter Maikeltje1977

    (@maikeltje1977)

    Thnx Michael! This fixes it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lightbox not working after upgrade to WordPress 4.2’ is closed to new replies.