-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Hello Mr Alman,
I am currently merging two projects. One that uses bbq and one that doesn't. I have a feeling I will have to convert the latter to bbq.
I have a question concerning removeState & param.fragment
My observations :
removeState seems to leave the leading hash when there's only one state.
- (starting url) - example.com
- (param.fragment) - example.com/#content=about
- (removeState) - example.com/#
param.fragment seems to convert "already there" hashes to the a=b&c=d format
- (starting url) - example.com/#content
- (param.fragment) - example.com/#content=&modal=about
- (removeState) - example.com/#content=
My question :
I can see why this is happening, but are there options to do otherwise? i.e. Remove leading hash if there are no more "states" & not convert existing hash?
Cheers
Metadata
Metadata
Assignees
Labels
No labels