Skip to content

Commit fec6cbc

Browse files
committed
set width of author table cell
1 parent 72d1a9d commit fec6cbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ var handleSearch = function(data) {
123123
handleHomePage(json[i]);
124124
continue;
125125
}
126-
tbodyHTML += rowHTML([label, formatTitle(json[i]), formatAuthors(json[i]), json[i].year]);
126+
// tbodyHTML += rowHTML([label, formatTitle(json[i]), formatAuthors(json[i]), json[i].year]);
127+
tbodyHTML += `<tr><td>${label}</td><td>${formatTitle(json[i])}</td> <td width="30%">${formatAuthors(json[i])}</td><td>${json[i].year}</td></tr>`;
127128
label = label + 1;
128129
}
129130
}

0 commit comments

Comments
 (0)