Skip to content

config for leaving URL fragment unchanged #20

@fortm

Description

@fortm

If base URL is as below -
http://localhost/project/module#fragment_key=fragment_value

the plugin adds # to end of URL when click event occurs on mainButtonClass="mfb-component__button--main" and URL becomes as below -
http://localhost/project/module#

So the fragment_key and fragment_value is removed. I am opening a modal on click for menu item and would ideally have the URL unchanged so that when modal closes the fragment in URL don't change as the page has not changed

Is this possible that clicking on menu button / menu item does not lead to displacement of exisiting URL fragment in favour of "#" ?

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