1
0
Fork 0
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:
Bill Thornton 2021-09-01 01:06:37 -04:00
parent 4b581f4160
commit 730b9d36a8
3 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ class PlaybackCore {
this.manager = syncPlayManager;
this.timeSyncCore = syncPlayManager.getTimeSyncCore();
Events.on(Settings, 'update', (event) => {
Events.on(Settings, 'update', () => {
this.loadPreferences();
});
}

View file

@ -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);
});
}

View file

@ -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();
});
}