mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix lint issues
This commit is contained in:
parent
4b581f4160
commit
730b9d36a8
3 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@ class PlaybackCore {
|
|||
this.manager = syncPlayManager;
|
||||
this.timeSyncCore = syncPlayManager.getTimeSyncCore();
|
||||
|
||||
Events.on(Settings, 'update', (event) => {
|
||||
Events.on(Settings, 'update', () => {
|
||||
this.loadPreferences();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ class TimeSyncCore {
|
|||
Events.trigger(this, 'time-sync-server-update', [timeOffset, ping]);
|
||||
});
|
||||
|
||||
Events.on(Settings, 'extraTimeOffset', (event, value, oldValue) => {
|
||||
Events.on(Settings, 'extraTimeOffset', () => {
|
||||
this.extraTimeOffset = Settings.getFloat('extraTimeOffset', 0.0);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -40,11 +40,11 @@ class SettingsEditor {
|
|||
|
||||
this.embed();
|
||||
|
||||
Events.on(this.timeSyncCore, 'refresh-devices', (event) => {
|
||||
Events.on(this.timeSyncCore, 'refresh-devices', () => {
|
||||
this.refreshTimeSyncDevices();
|
||||
});
|
||||
|
||||
Events.on(this.timeSyncCore, 'time-sync-server-update', (event) => {
|
||||
Events.on(this.timeSyncCore, 'time-sync-server-update', () => {
|
||||
this.refreshTimeSyncDevices();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue