Skip to content

Double call of AJAX function on page load in Chrome #26

@danmiser

Description

@danmiser

For browsers that return true for supportsHistoryApi (i.e. Chrome):
init() calls _refreshData [1], followed by _registerHistoryEvents. _registerHistoryEvents calls _parseUrl, which calls _refreshData [2]. This ends up calling the dataFunction twice.

Temporary solution is to set urlUpdatingEnabled to false.

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