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:
parent
c97089b52c
commit
e1009d3d67
1 changed files with 3 additions and 2 deletions
|
@ -2,8 +2,9 @@ define(['appSettings', 'events'], function (appSettings, events) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function onSaveTimeout() {
|
function onSaveTimeout() {
|
||||||
this.saveTimeout = null;
|
var self = this;
|
||||||
this.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby');
|
self.saveTimeout = null;
|
||||||
|
self.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby');
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveServerPreferences(instance) {
|
function saveServerPreferences(instance) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue