Closed lutzhelm closed 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
String.prototype.endsWith()
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.
Do you know of a reasonably simple workaround for this issue?
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.
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#L328I 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.