Skip to content

Customizable options: originalContent and changedContent #9

@hlridge

Description

@hlridge

Setting originalContent and changedContent didn't work for me. I changed these two lines:

original = $(settings.originalContainer, this).text();
changed = $(settings.changedContainer, this).text();

... to

original = settings.originalContent || $(settings.originalContainer, this).text();
changed = settings.changedContent || $(settings.changedContainer, this).text();

... to use originalContent and changedContent when set, rather than originalContainer and changedContainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions