In line 30 of area_print.js it reads

$('#' + targetId, newWin.document).show().parentsUntil('').andSelf().siblings().hide();

The method andSelf() has been deprecated in jQuery 1.8 and has been removed in jQuery 3.0 – instead you should now use addBack() which works the same way as andSelf() before.

Issue fork area_print-3119154

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    Paul Broon created an issue. See original summary.

    Shreevasa Tantry’s picture

    Status: Active » Needs review
    StatusFileSize
    new1.01 KB

    Please review the patch file.

    jan kellermann’s picture

    Status: Needs review » Reviewed & tested by the community

    Works for us.

    jan kellermann’s picture

    StatusFileSize
    new552 bytes

    In version 2.0.0-beta3 this issue is partly patched in https://git.drupalcode.org/project/area_print/-/commit/cbdfbd4c06fb191c8...
    The 2nd replacement I put in the patch #3.
    Status stay on reviewed.

    jan kellermann’s picture

    Version: 8.x-1.0-beta1 » 2.0.0-beta3
    jan kellermann’s picture

    @matslats the last commit for D10 wirh the "half fix" for this issue is only available in Tag 2.0.0-beta3 but not in 2.0.x-branch, so I dont open a merge request. If you merged the commit to 2.0.x I can crate a MR (or you patch this without MR). Best regards.