sul-dlss / riiif

IIIF image server in ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple viewers appear when clicking links with turbolinks enabled

bmaddy opened this issue · comments

OpenSeadragon() returns a viewer. We need to call .close() on this when we move to a new page.

Calling .close() doesn't solve the problem. Neither does passing in a new DOMNode with the element option. I suspect something in OpenSeadragon needs to be changed.

The next step is to get an example case working with just turbolinks and seadragon and open an issue on seadragon. I'm leaving this open as a reminder to do that.