readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
553 stars 186 forks source link

Provide an initial state for the shared bookmark URL #647

Closed jccr closed 7 years ago

jccr commented 7 years ago

This change makes it so the URL to push to the history API is generated at the earliest point possible - when the spine item to load is first determined. This fixes an edge case with the external_agent_support features of shared-js.

How to test this: