Fix sonarjs no-redundant-jump
This commit is contained in:
@@ -382,7 +382,6 @@ import template from './libraryoptionseditor.template.html';
|
||||
return setContentType(parent, contentType).then(function() {
|
||||
libraryOptions && setLibraryOptions(parent, libraryOptions);
|
||||
bindEvents(parent);
|
||||
return;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -295,7 +295,6 @@ document.addEventListener('viewshow', function (e) {
|
||||
mirrorIfEnabled({
|
||||
item: item
|
||||
});
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -129,7 +129,6 @@ function executeCloseAction(action, programId, serverId) {
|
||||
serverId: serverId
|
||||
});
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -170,7 +170,6 @@ function renderSeriesTimerEditor(page, item, apiClient, user) {
|
||||
|
||||
page.querySelector('.seriesTimerScheduleSection').classList.add('hide');
|
||||
hideAll(page, 'btnCancelSeriesTimer');
|
||||
return;
|
||||
}
|
||||
|
||||
function renderTrackSelections(page, instance, item, forceReload) {
|
||||
|
||||
@@ -720,8 +720,6 @@ class ItemsView {
|
||||
if (params.type === 'Video') {
|
||||
return globalize.translate('Videos');
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function play() {
|
||||
|
||||
@@ -35,7 +35,6 @@ import Dashboard from '../../../utils/dashboard';
|
||||
Dashboard.navigate('forgotpasswordpin.html');
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -190,7 +190,6 @@ import Sortable from 'sortablejs';
|
||||
const itemsContainer = this;
|
||||
if (getEventsToMonitor(itemsContainer).indexOf('seriestimers') !== -1) {
|
||||
itemsContainer.notifyRefreshNeeded();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -193,7 +193,6 @@ class QueueCore {
|
||||
}
|
||||
|
||||
this.manager.haltGroupPlayback(apiClient);
|
||||
return;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user