Skip to content

Commit

Permalink
fix(): fixes click row fails in mozilla for datagrid (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Lloyd committed Jun 22, 2017
1 parent 96a102d commit cdd165c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/core/data-table/data-table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,9 @@ export class TdDataTableComponent implements ControlValueAccessor, AfterContentI
if (this.isClickable) {
// ignoring linting rules here because attribute it actually null or not there
// can't check for undefined
const srcElement = event.srcElement || event.currentTarget as Element;
/* tslint:disable-next-line */
if (event.srcElement.getAttribute('stopRowClick') === null) {
if (srcElement.getAttribute('stopRowClick') === null) {
this.onRowClick.emit({row: row});
}
}
Expand Down

0 comments on commit cdd165c

Please sign in to comment.