Fix shared media scroll stuck
This commit is contained in:
parent
ba3551c0c3
commit
6ff886d580
@ -1112,8 +1112,8 @@ export default class AppSearchSuper {
|
||||
|
||||
this.container.classList.toggle('hide', !firstMediaTab);
|
||||
this.container.parentElement.classList.toggle('search-empty', !firstMediaTab);
|
||||
this.selectTab(this.mediaTabs.indexOf(firstMediaTab), false);
|
||||
if(firstMediaTab) {
|
||||
this.selectTab(this.mediaTabs.indexOf(firstMediaTab), false);
|
||||
firstMediaTab.menuTab.classList.add('active');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user