pull the keypath for clicked value in stats javascript

This commit is contained in:
Stephen Birarda 2015-04-29 17:55:10 -07:00
parent a39ee91233
commit 781f45e488

View file

@ -34,6 +34,6 @@ $(document).ready(function(){
// handle clicks on numerical values - this lets the user show a line graph in a modal
$('#stats-container').on('click', '.jh-type-number', function(){
var key = $(this).closest('tr').children('.jh-key').html();
var keypath = $(this).data('keypath');
});
});