Closed valerio-bozzolan closed 4 years ago
Here you are two minor refactor:
loadBranch
move
.data('treetable')
$( '<tr>' ).append ...
$.parseHTML
Thank you!
Here you are two minor refactor:
loadBranch
andmove
there were multiple calls to jQuery's.data('treetable')
.loadBranch
is encapsulated in a jQuery object allow to pass structures made using jQuery (e.g.$( '<tr>' ).append ...
) so it's a feature and it's a better approach over$.parseHTML
.Thank you!