Removing some selectors for readability

This commit is contained in:
rootcoma 2013-12-01 14:55:08 -08:00
parent e6fb086938
commit d6e123103c
1 changed files with 1 additions and 1 deletions

View File

@ -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");