Skip to content

Deprecated load event #16

Description

@dxvargas

Load event was deprecated in JQuery 1.8 and removed in 3.0 .
It's still used in this lib here:
$(window).load(function(){ ... }

It results in this error:
TypeError: a.indexOf is not a function[Learn More]

It's an easy fix, just make it like this:
$(window).on("load", function(){ ... }

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