Skip to content

$.fn.scrollPagination.defaults changing on second call #9

@begrossi

Description

@begrossi

As $.extend changes the value of the first argument, the correct command sould be:

var opts = $.extend({}, $.fn.scrollPagination.defaults, options);

Using as it is (var opts = $.extend($.fn.scrollPagination.defaults, options);), will change de defaults values for a second call.

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