Removing some selectors for readability
This commit is contained in:
parent
e6fb086938
commit
d6e123103c
|
|
@ -15,7 +15,7 @@ var createModalDiv = function() {
|
|||
}
|
||||
};
|
||||
$(function() {
|
||||
$(".modal-table > tbody > tr").click(function() {
|
||||
$(".modal-table tbody tr").click(function() {
|
||||
createModalDiv();
|
||||
var headers = $(this).parent("tbody").parent("table").find('th');
|
||||
var values = $(this).children("td");
|
||||
|
|
|
|||
Loading…
Reference in New Issue