Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up javascript

  • Loading branch information...
commit 5d804c7abf6afdf9622baaa1983c9d9f1b35b47c 1 parent 60e06ee
Ken Sheppardson authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 public/javascripts/application.js
9 public/javascripts/application.js
View
@@ -43,8 +43,13 @@ function draw_tree() {
$('#graph_wrapper').empty();
for (var i in selKeys) {
var div = $('<div>');
- div.append($('<div>').text(selKeys[i]).attr('class','graph_title'));
- div.append($('<div>').attr('id','graph'+i).attr('class','graph'));
+ div.append($('<div>')
+ .attr('class','graph_title'))
+ .text(selKeys[i]);
+ div.append($('<div>')
+ .attr('id','graph'+i)
+ .attr('class','graph')
+ );
$('#graph_wrapper').append(div);
draw_graph('#graph'+i, selKeys[i]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.