From d6e123103ca15cb0eb2428658de43bf9cc103e21 Mon Sep 17 00:00:00 2001 From: rootcoma Date: Sun, 1 Dec 2013 14:55:08 -0800 Subject: [PATCH] Removing some selectors for readability --- php/js/triviatime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/js/triviatime.js b/php/js/triviatime.js index 300f688..3fd094b 100644 --- a/php/js/triviatime.js +++ b/php/js/triviatime.js @@ -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");