kitodo / kitodo-presentation

Kitodo.Presentation is a feature-rich framework for building a METS- or IIIF-based digital library. It is part of the Kitodo Digital Library Suite.
https://kitodo.org
GNU General Public License v3.0
38 stars 45 forks source link

IIIF viewer functionality not available in Internet Explorer #310

Closed lutzhelm closed 5 years ago

lutzhelm commented 5 years ago

While trying to test my recent JavaScript changes with IE11 I noticed that the existing code didn't work in the first place. It fails at least due to missing support for String.prototype.endsWith(). https://github.com/kitodo/kitodo-presentation/blob/067f23017dc8cc4c3b73d7ad5305cf72251fbff3/plugins/pageview/tx_dlf_utils.js#L328

I don't know if the IE is still relevant at all but I could imagine that some institution / organization environments are still stuck with it.

sebastian-meyer commented 5 years ago

Do you know of a reasonably simple workaround for this issue?

lutzhelm commented 5 years ago

I guess polyfilling the method does not qualify as the most simple workaround. However, this seems to have been the only issue in IE 11.