mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unused variables
This commit is contained in:
parent
6a60938b09
commit
f60b7686d0
110 changed files with 242 additions and 277 deletions
|
@ -41,7 +41,7 @@ function resetRegistration() {
|
|||
|
||||
resetRegistration();
|
||||
|
||||
function showPersistentNotification(title, options, timeoutMs) {
|
||||
function showPersistentNotification(title, options) {
|
||||
serviceWorkerRegistration.showNotification(title, options);
|
||||
}
|
||||
|
||||
|
@ -219,7 +219,7 @@ Events.on(serverNotifications, 'PackageInstalling', function (e, apiClient, data
|
|||
showPackageInstallNotification(apiClient, data, 'progress');
|
||||
});
|
||||
|
||||
Events.on(serverNotifications, 'ServerShuttingDown', function (e, apiClient, data) {
|
||||
Events.on(serverNotifications, 'ServerShuttingDown', function (e, apiClient) {
|
||||
const serverId = apiClient.serverInfo().Id;
|
||||
const notification = {
|
||||
tag: 'restart' + serverId,
|
||||
|
@ -228,7 +228,7 @@ Events.on(serverNotifications, 'ServerShuttingDown', function (e, apiClient, dat
|
|||
showNotification(notification, 0, apiClient);
|
||||
});
|
||||
|
||||
Events.on(serverNotifications, 'ServerRestarting', function (e, apiClient, data) {
|
||||
Events.on(serverNotifications, 'ServerRestarting', function (e, apiClient) {
|
||||
const serverId = apiClient.serverInfo().Id;
|
||||
const notification = {
|
||||
tag: 'restart' + serverId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue