Browse Source

Fix shared media scroll stuck

master
morethanwords 4 years ago
parent
commit
6ff886d580
  1. 2
      src/components/appSearchSuper..ts

2
src/components/appSearchSuper..ts

@ -1112,8 +1112,8 @@ export default class AppSearchSuper { @@ -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…
Cancel
Save