mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unneeded empty functions
This commit is contained in:
parent
9067b0e397
commit
ddbe596696
8 changed files with 1 additions and 33 deletions
|
@ -23,10 +23,6 @@ function onViewDestroy() {
|
|||
this.initialTabIndex = null;
|
||||
}
|
||||
|
||||
function onBeforeTabChange() {
|
||||
// no-op
|
||||
}
|
||||
|
||||
class TabbedView {
|
||||
constructor(view, params) {
|
||||
this.tabControllers = [];
|
||||
|
@ -79,7 +75,7 @@ class TabbedView {
|
|||
view.addEventListener('viewbeforehide', this.onPause.bind(this));
|
||||
|
||||
view.addEventListener('viewbeforeshow', function () {
|
||||
mainTabsManager.setTabs(view, currentTabIndex, self.getTabs, getTabContainers, onBeforeTabChange, onTabChange, false);
|
||||
mainTabsManager.setTabs(view, currentTabIndex, self.getTabs, getTabContainers, null, onTabChange, false);
|
||||
});
|
||||
|
||||
view.addEventListener('viewshow', function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue