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

add code suggestions

This commit is contained in:
dkanada 2019-11-30 10:51:24 +09:00
parent c97089b52c
commit e1009d3d67

View file

@ -2,8 +2,9 @@ define(['appSettings', 'events'], function (appSettings, events) {
'use strict';
function onSaveTimeout() {
this.saveTimeout = null;
this.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby');
var self = this;
self.saveTimeout = null;
self.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby');
}
function saveServerPreferences(instance) {