Skip to content

jQuery 3.0 breaks this plug-in, here's the fix #16

@skills0

Description

@skills0

I haven't fully vetted this, but jQuery 3.x finally removed the ".context" property that was deprecated in version 1.1. This is being used to set up the element property on defaults and htmlOptions in this plug-in.

I basically just removed ".context" and left the setters to just $(this) and everything seems to work.

i.e

var defaults = {
element: $(this),

and

var htmlOptions = {
element: $(this),

Appreciate any feedback or if anyone finds an issue created by this change. The plug-in just doesn't work at all in 3.x otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions