Skip to content

Commit

Permalink
fix(FEV-1056): fix chapters disappear (#4244)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyBregman authored Aug 4, 2021
1 parent 99cb690 commit e1de274
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions modules/KalturaSupport/components/chapters/chapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,6 @@
}
} )
.on( "focus", function () {
_this.getPlayer().triggerHelper("openSideBarContainer");
_this.getPlayer().triggerHelper( "onDisableKeyboardBinding" );
//On each focus render width of dropdown menu
searchBoxWrapper.find(".tt-dropdown-menu" ).width(searchFormWrapper.width());
Expand Down Expand Up @@ -1002,12 +1001,10 @@
this.transitionsToBeFired = slidesSearchResults.length;
slidesSearchResults.addClass("collapsed");
mediaBoxes.filter(".chapterBox" ).addClass( "resultNoMatch" );
this.doOnSlideAnimationEnded(function() {
mediaBoxes.removeClass( "resultNoMatch" );
var chapters = this.getMediaListDomElements().filter( ".chapterBox" );
var expandedChapters = chapters.filter( "[data-chapter-collapsed=false]" );
this.toggleChapter( expandedChapters );
});
mediaBoxes.removeClass( "resultNoMatch" );
var chapters = this.getMediaListDomElements().filter( ".chapterBox" );
var expandedChapters = chapters.filter( "[data-chapter-collapsed=false]" );
this.toggleChapter( expandedChapters );
}
},
renderScroller: function(options){
Expand Down

0 comments on commit e1de274

Please sign in to comment.