oracc / oracc-search-front-end

1 stars 1 forks source link

Navigation fixes #62

Closed tim-band closed 7 months ago

tim-band commented 7 months ago

Navigation no longer uses window.location.pathname, which is sensitive to the base path the front end is served on. Mobile mode is fixed. Breadcrumb code is simplified.

tim-band commented 7 months ago

@acholyn isn't that how it has always worked? I'll dig out a very old version and see what's up.

acholyn commented 7 months ago

Oh in that case, nothing to worry about! I don't think I noticed it before

tim-band commented 7 months ago

The old navigation produced:

Home <- Search <- Search Results <- ugu <- occurrences <- texts <- er₂

before going back to shorter breadcrumb lists. This one does the same.