mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix recent activity episode titles
This commit is contained in:
parent
ba15a638ba
commit
ce58a73714
8 changed files with 60 additions and 35 deletions
|
@ -14,12 +14,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.467",
|
||||
"_release": "1.4.467",
|
||||
"version": "1.4.468",
|
||||
"_release": "1.4.468",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.467",
|
||||
"commit": "bd1118e1637ab6edef1c61eb66593171eea35962"
|
||||
"tag": "1.4.468",
|
||||
"commit": "3f10ed5f1938f5c1c9eb84f1f36e3b8606f03b88"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
|
|
@ -151,20 +151,20 @@
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
var settingsKey = 'periodicmessage-' + feature;
|
||||
var settingsKey = 'periodicmessage2-' + feature;
|
||||
|
||||
var lastMessage = parseInt(appSettings.get(settingsKey) || '0');
|
||||
|
||||
if (!lastMessage) {
|
||||
|
||||
// Don't show on the very first playback attempt
|
||||
appSettings.set(settingsKey, new Date().getTime());
|
||||
appSettings.set(settingsKey, new Date().getTime() - intervalMs);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
if ((new Date().getTime() - lastMessage) > intervalMs) {
|
||||
|
||||
connectionManager.currentApiClient().getPluginSecurityInfo().then(function (regInfo) {
|
||||
return connectionManager.currentApiClient().getPluginSecurityInfo().then(function (regInfo) {
|
||||
|
||||
if (regInfo.IsMBSupporter) {
|
||||
appSettings.set(settingsKey, new Date().getTime());
|
||||
|
|
|
@ -806,7 +806,9 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'scrollStyles'], func
|
|||
capture: true
|
||||
});
|
||||
|
||||
dragSourceElement.removeEventListener('mousedown', dragInitSlidee);
|
||||
dom.removeEventListener(dragSourceElement, 'mousedown', dragInitSlidee, {
|
||||
//passive: true
|
||||
});
|
||||
|
||||
// Reset initialized status and return the instance
|
||||
self.initialized = 0;
|
||||
|
@ -880,7 +882,12 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'scrollStyles'], func
|
|||
}
|
||||
}
|
||||
|
||||
dragSourceElement.addEventListener('mousedown', dragInitSlidee);
|
||||
if (o.horizontal || transform) {
|
||||
// This can prevent others from being able to listen to mouse events
|
||||
dom.addEventListener(dragSourceElement, 'mousedown', dragInitSlidee, {
|
||||
//passive: true
|
||||
});
|
||||
}
|
||||
|
||||
if (transform) {
|
||||
|
||||
|
|
|
@ -379,5 +379,5 @@
|
|||
"Retry": "Volver a intentar",
|
||||
"HeaderMyDevice": "Mi Dispositivo",
|
||||
"MediaQueued": "Medios en cola.",
|
||||
"ContinuingInSecondsValue": "Continuing in {0} seconds."
|
||||
"ContinuingInSecondsValue": "Continuando en {0} segundos."
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue