1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Change template string to generic one to support older browsers

This commit is contained in:
Dmitry Lyzo 2020-04-20 19:04:18 +03:00
parent 51722fd225
commit 364bbc988d

View file

@ -184,7 +184,7 @@ define(['appSettings', 'browser', 'events'], function (appSettings, browser, eve
// as this is true only if video hasn't started yet or
// user rewound to the very beginning
// (but rewinding cannot happen as the first event with media of non-empty duration)
console.debug(`seeking to ${seconds} on ${e.type} event`);
console.debug('seeking to ' + seconds + ' on ' + e.type + ' event');
setCurrentTimeIfNeeded(element, seconds);
events.map(function(name) {
element.removeEventListener(name, onMediaChange);