Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Leading whitespace in href results in a synchronous load, when async is desired #4882

Closed
@holtbp

Description

@holtbp

Browsers: Chrome 21.0.1180.79, iOS 5.1 Safari, Safari 6
jQM Version: 1.0.1, 1.1.1, 1.2.0

Prerequisites:

  • An anchor tag with a leading whitespace in the href attribute exists on the page (example below).
  • AJAX navigation enabled
  • Link ajax data-attribute or rel will not cause a synchronous load

Steps:

  1. Load page
  2. Click on desired link with leading space in href

Expected: Asynchronous load occurs.

Actual: Synchronous load occurs, clearing the DOM of cached "pages"

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