Skip to content

Commit a47e424

Browse files
author
Thai Wood
committed
Add id to table rows by using table id and row id
1 parent d6db1fd commit a47e424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inline-gdocs-viewer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ private function dataToHtml ($r, $options, $caption = '') {
613613

614614
$html .= "<thead>\n";
615615
foreach ( $thead as $v ) {
616-
$html .= "<tr id=\"" . esc_attr( $id ) . '-row-$ir" class="row-$ir ' . $this->evenOrOdd( $ir ) . "\">";
616+
$html .= "<tr id=\"" . esc_attr( $id ) . "-row-$ir\" class=\"row-$ir " . $this->evenOrOdd( $ir ) . "\">";
617617
$ir++;
618618
$ic = 1; // reset column counting
619619
foreach ( $v as $th ) {

0 commit comments

Comments
 (0)