mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
fixed #1685
This commit is contained in:
parent
5a07a69a33
commit
ced32d1adc
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export class TvSearchComponent implements OnInit, OnDestroy {
|
||||||
public openClosestTab(el: any) {
|
public openClosestTab(el: any) {
|
||||||
el.preventDefault();
|
el.preventDefault();
|
||||||
const rowclass = "undefined";
|
const rowclass = "undefined";
|
||||||
el = el.toElement;
|
el = el.toElement || el.relatedTarget || el.target;
|
||||||
while (el.className !== rowclass) {
|
while (el.className !== rowclass) {
|
||||||
// Increment the loop to the parent node until we find the row we need
|
// Increment the loop to the parent node until we find the row we need
|
||||||
el = el.parentNode;
|
el = el.parentNode;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue