Skip to content

How to prevent the window <title> from being replaced. #558

@onyekaa

Description

@onyekaa

I have a couple of links that I'm loading into modals using hx-get, with hx-select to only swap certain elements. This all works fine except the parent page's window title is changed to the title of the page I requested. I don't need this to happen, as these are modals.

I saw this was added here: 0f72543 but I'm not sure why it's not optional seeing as hx-select is the workaround to not requesting pages that are only fragments. Is there a way to prevent this?

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