This commit is contained in:
Jamie 2017-11-06 13:39:36 +00:00
commit ced32d1adc

View file

@ -51,7 +51,7 @@ export class TvSearchComponent implements OnInit, OnDestroy {
public openClosestTab(el: any) {
el.preventDefault();
const rowclass = "undefined";
el = el.toElement;
el = el.toElement || el.relatedTarget || el.target;
while (el.className !== rowclass) {
// Increment the loop to the parent node until we find the row we need
el = el.parentNode;